Class GeoPackageFactory

java.lang.Object
mil.nga.geopackage.GeoPackageFactory
Direct Known Subclasses:
DGIWGGeoPackageFactory

public class GeoPackageFactory extends Object
GeoPackage Factory to get a GeoPackage Manager
  • Constructor Details

    • GeoPackageFactory

      public GeoPackageFactory()
  • Method Details

    • getManager

      public static GeoPackageManager getManager(Context context)
      Get a GeoPackage Manager
      Parameters:
      context - context
      Returns:
      GeoPackage manager
    • getExternalManager

      public static GeoPackageManager getExternalManager()
      Get a GeoPackage Manager for operating only on external GeoPackages
      Returns:
      GeoPackage manager
      Since:
      5.1.0
    • openExternal

      public static GeoPackage openExternal(File path)
      Open an external GeoPackage
      Parameters:
      path - full file path
      Returns:
      open GeoPackage
      Since:
      5.1.0
    • openExternal

      public static GeoPackage openExternal(File path, boolean writable)
      Open an external GeoPackage
      Parameters:
      path - full file path
      writable - true to open as writable, false as read only
      Returns:
      open GeoPackage
      Since:
      5.1.0
    • openExternal

      public static GeoPackage openExternal(String path)
      Open an external GeoPackage
      Parameters:
      path - full file path
      Returns:
      open GeoPackage
      Since:
      5.1.0
    • openExternal

      public static GeoPackage openExternal(String path, boolean writable)
      Open an external GeoPackage
      Parameters:
      path - full file path
      writable - true to open as writable, false as read only
      Returns:
      open GeoPackage
      Since:
      5.1.0