Class GeoPackageCache

    • Constructor Detail

      • GeoPackageCache

        public GeoPackageCache()
        Constructor
    • 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 name
        file - 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 name
        file - GeoPackage file
        Returns:
        GeoPackage
        Since:
        3.1.0