Package mil.nga.geopackage
Class GeoPackageCache
- java.lang.Object
-
- mil.nga.geopackage.GeoPackageCoreCache<GeoPackage>
-
- mil.nga.geopackage.GeoPackageCache
-
public class GeoPackageCache extends GeoPackageCoreCache<GeoPackage>
GeoPackage Cache- Since:
- 3.0.2
- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description GeoPackageCache()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoPackage
getOrNoCacheOpen(File file)
Get the cached GeoPackage or open the GeoPackage file without caching itGeoPackage
getOrNoCacheOpen(String name, File file)
Get the cached GeoPackage or open the GeoPackage file without caching itGeoPackage
getOrOpen(File file)
Get the cached GeoPackage or open and cache the GeoPackage fileGeoPackage
getOrOpen(String name, File file)
Get the cached GeoPackage or open and cache the GeoPackage file-
Methods 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
-
-
-
-
Method Detail
-
getOrOpen
public GeoPackage getOrOpen(File file)
Get the cached GeoPackage or open and cache the GeoPackage file- Parameters:
file
- GeoPackage file- Returns:
- GeoPackage
-
getOrOpen
public GeoPackage getOrOpen(String name, File file)
Get the cached GeoPackage or open and cache the GeoPackage file- Parameters:
name
- GeoPackage namefile
- GeoPackage file- Returns:
- GeoPackage
-
getOrNoCacheOpen
public GeoPackage getOrNoCacheOpen(File file)
Get the cached GeoPackage or open the GeoPackage file without caching it- Parameters:
file
- GeoPackage file- Returns:
- GeoPackage
- Since:
- 3.1.0
-
getOrNoCacheOpen
public GeoPackage getOrNoCacheOpen(String name, File file)
Get the cached GeoPackage or open the GeoPackage file without caching it- Parameters:
name
- GeoPackage namefile
- GeoPackage file- Returns:
- GeoPackage
- Since:
- 3.1.0
-
-