Package mil.nga.geopackage.extension
Class WebPExtension
- java.lang.Object
-
- mil.nga.geopackage.extension.BaseExtension
-
- mil.nga.geopackage.extension.WebPExtension
-
public class WebPExtension extends BaseExtension
WebP extension- Since:
- 1.1.8
- Author:
- osbornb
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFINITION
Extension definition URLstatic String
EXTENSION_NAME
Extension namestatic String
NAME
Name-
Fields inherited from class mil.nga.geopackage.extension.BaseExtension
extensionsDao, geoPackage
-
-
Constructor Summary
Constructors Constructor Description WebPExtension(GeoPackageCore geoPackage)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Extensions
getOrCreate(String tableName)
Get or create the extensionboolean
has(String tableName)
Determine if the GeoPackage has the extension-
Methods inherited from class mil.nga.geopackage.extension.BaseExtension
createDao, get, getExtensions, getExtensions, getExtensionsDao, getGeoPackage, getOrCreate, has, has, verifyWritable
-
-
-
-
Field Detail
-
NAME
public static final String NAME
Name- See Also:
- Constant Field Values
-
EXTENSION_NAME
public static final String EXTENSION_NAME
Extension name- See Also:
- Constant Field Values
-
DEFINITION
public static final String DEFINITION
Extension definition URL
-
-
Constructor Detail
-
WebPExtension
public WebPExtension(GeoPackageCore geoPackage)
Constructor- Parameters:
geoPackage
- GeoPackage
-
-
Method Detail
-
getOrCreate
public Extensions getOrCreate(String tableName)
Get or create the extension- Parameters:
tableName
- table name- Returns:
- extension
-
has
public boolean has(String tableName)
Determine if the GeoPackage has the extension- Overrides:
has
in classBaseExtension
- Parameters:
tableName
- table name- Returns:
- true if has extension
-
-