Class GeoPackageCache


public class GeoPackageCache extends GeoPackageCoreCache<GeoPackage>
GeoPackage Cache
  • Constructor Details

    • GeoPackageCache

      public GeoPackageCache(GeoPackageManager manager)
      Constructor
      Parameters:
      manager - GeoPackage manager
  • Method Details

    • getOrOpen

      public GeoPackage getOrOpen(String name)
      Get the cached GeoPackage or open and cache the GeoPackage
      Parameters:
      name - GeoPackage name
      Returns:
      GeoPackage
    • getOrOpen

      public GeoPackage getOrOpen(String name, boolean writable)
      Get the cached GeoPackage or open and cache the GeoPackage
      Parameters:
      name - GeoPackage name
      writable - writable true to open as writable, false as read only
      Returns:
      GeoPackage
      Since:
      3.1.0
    • getOrNoCacheOpen

      public GeoPackage getOrNoCacheOpen(String name)
      Get the cached GeoPackage or open the GeoPackage file without caching it
      Parameters:
      name - GeoPackage name
      Returns:
      GeoPackage
      Since:
      3.1.0
    • getOrNoCacheOpen

      public GeoPackage getOrNoCacheOpen(String name, boolean writable)
      Get the cached GeoPackage or open the GeoPackage file without caching it
      Parameters:
      name - GeoPackage name
      writable - writable true to open as writable, false as read only
      Returns:
      GeoPackage
      Since:
      3.1.0