Package mil.nga.geopackage
Class GeoPackageCache
GeoPackage Cache
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetOrNoCacheOpen
(String name) Get the cached GeoPackage or open the GeoPackage file without caching itgetOrNoCacheOpen
(String name, boolean writable) Get the cached GeoPackage or open the GeoPackage file without caching itGet the cached GeoPackage or open and cache the GeoPackageGet the cached GeoPackage or open and cache the GeoPackageMethods inherited from class mil.nga.geopackage.GeoPackageCoreCache
add, addAll, clear, close, close, close, closeAll, closeIfCached, closeIfNotCached, closeRetain, exists, get, getGeoPackages, getNames, has, isCloseQuietly, remove, removeAndClose, setCloseQuietly
-
Constructor Details
-
GeoPackageCache
Constructor- Parameters:
manager
- GeoPackage manager
-
-
Method Details
-
getOrOpen
Get the cached GeoPackage or open and cache the GeoPackage- Parameters:
name
- GeoPackage name- Returns:
- GeoPackage
-
getOrOpen
Get the cached GeoPackage or open and cache the GeoPackage- Parameters:
name
- GeoPackage namewritable
- writable true to open as writable, false as read only- Returns:
- GeoPackage
- Since:
- 3.1.0
-
getOrNoCacheOpen
Get the cached GeoPackage or open the GeoPackage file without caching it- Parameters:
name
- GeoPackage name- Returns:
- GeoPackage
- Since:
- 3.1.0
-
getOrNoCacheOpen
Get the cached GeoPackage or open the GeoPackage file without caching it- Parameters:
name
- GeoPackage namewritable
- writable true to open as writable, false as read only- Returns:
- GeoPackage
- Since:
- 3.1.0
-