Package mil.nga.geopackage.extension
Class ExtensionManager
- java.lang.Object
- 
- mil.nga.geopackage.extension.ExtensionManagement
- 
- mil.nga.geopackage.extension.ExtensionManager
 
 
- 
 public class ExtensionManager extends ExtensionManagement GeoPackage Extension Manager for deleting and copying extensions- Since:
- 4.0.0
- Author:
- osbornb
 
- 
- 
Field Summary- 
Fields inherited from class mil.nga.geopackage.extension.ExtensionManagementgeoPackage
 
- 
 - 
Constructor SummaryConstructors Constructor Description ExtensionManager(GeoPackageCore geoPackage)Constructor
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopyGriddedCoverage(String table, String newTable)Copy the Gridded Coverage extensions for the tablevoidcopyMetadata(String table, String newTable)Copy the Metadata extensions for the tablevoidcopyRelatedTables(String table, String newTable)Copy the Related Tables extensions for the tablevoidcopyRTreeSpatialIndex(String table, String newTable)Copy the RTree Spatial extension for the tablevoidcopySchema(String table, String newTable)Copy the Schema extensions for the tablevoidcopyTableExtensions(String table, String newTable)Copy all table extensions for the tablevoiddeleteCrsWktExtension()Delete the WKT for Coordinate Reference Systems extensionvoiddeleteExtensions()Delete all extensions including custom extension tablesvoiddeleteGriddedCoverage(String table)Delete the Gridded Coverage extensions for the tablevoiddeleteGriddedCoverageExtension()Delete the Gridded Coverage extensionvoiddeleteMetadata(String table)Delete the Metadata extensions for the tablevoiddeleteMetadataExtension()Delete the Metadata extensionvoiddeleteRelatedTables(String table)Delete the Related Tables extensions for the tablevoiddeleteRelatedTablesExtension()Delete the Related Tables extensionvoiddeleteRTreeSpatialIndex(String table)Delete the RTree Spatial extension for the tablevoiddeleteRTreeSpatialIndexExtension()Delete the RTree Spatial extensionvoiddeleteSchema(String table)Delete the Schema extensions for the tablevoiddeleteSchemaExtension()Delete the Schema extensionvoiddeleteTableExtensions(String table)Delete all table extensions for the tableStringgetAuthor()Get the extension authorstatic RTreeIndexCoreExtensiongetRTreeIndexExtension(GeoPackageCore geoPackage)Get a RTree Index Extension used only for checking if exists and deletions- 
Methods inherited from class mil.nga.geopackage.extension.ExtensionManagementgetGeoPackage
 
- 
 
- 
- 
- 
Constructor Detail- 
ExtensionManagerpublic ExtensionManager(GeoPackageCore geoPackage) Constructor- Parameters:
- geoPackage- GeoPackage
 
 
- 
 - 
Method Detail- 
getAuthorpublic String getAuthor() Get the extension author- Specified by:
- getAuthorin class- ExtensionManagement
- Returns:
- author
 
 - 
deleteTableExtensionspublic void deleteTableExtensions(String table) Delete all table extensions for the table- Specified by:
- deleteTableExtensionsin class- ExtensionManagement
- Parameters:
- table- table name
 
 - 
deleteExtensionspublic void deleteExtensions() Delete all extensions including custom extension tables- Specified by:
- deleteExtensionsin class- ExtensionManagement
 
 - 
copyTableExtensionspublic void copyTableExtensions(String table, String newTable) Copy all table extensions for the table- Specified by:
- copyTableExtensionsin class- ExtensionManagement
- Parameters:
- table- table name
- newTable- new table name
 
 - 
deleteRTreeSpatialIndexpublic void deleteRTreeSpatialIndex(String table) Delete the RTree Spatial extension for the table- Parameters:
- table- table name
 
 - 
deleteRTreeSpatialIndexExtensionpublic void deleteRTreeSpatialIndexExtension() Delete the RTree Spatial extension
 - 
copyRTreeSpatialIndexpublic void copyRTreeSpatialIndex(String table, String newTable) Copy the RTree Spatial extension for the table- Parameters:
- table- table name
- newTable- new table name
 
 - 
getRTreeIndexExtensionpublic static RTreeIndexCoreExtension getRTreeIndexExtension(GeoPackageCore geoPackage) Get a RTree Index Extension used only for checking if exists and deletions- Parameters:
- geoPackage- GeoPackage
- Returns:
- RTree index extension
- Since:
- 6.6.0
 
 - 
deleteRelatedTablespublic void deleteRelatedTables(String table) Delete the Related Tables extensions for the table- Parameters:
- table- table name
 
 - 
deleteRelatedTablesExtensionpublic void deleteRelatedTablesExtension() Delete the Related Tables extension
 - 
copyRelatedTablespublic void copyRelatedTables(String table, String newTable) Copy the Related Tables extensions for the table- Parameters:
- table- table name
- newTable- new table name
 
 - 
deleteGriddedCoveragepublic void deleteGriddedCoverage(String table) Delete the Gridded Coverage extensions for the table- Parameters:
- table- table name
 
 - 
deleteGriddedCoverageExtensionpublic void deleteGriddedCoverageExtension() Delete the Gridded Coverage extension
 - 
copyGriddedCoveragepublic void copyGriddedCoverage(String table, String newTable) Copy the Gridded Coverage extensions for the table- Parameters:
- table- table name
- newTable- new table name
 
 - 
deleteSchemapublic void deleteSchema(String table) Delete the Schema extensions for the table- Parameters:
- table- table name
 
 - 
deleteSchemaExtensionpublic void deleteSchemaExtension() Delete the Schema extension
 - 
copySchemapublic void copySchema(String table, String newTable) Copy the Schema extensions for the table- Parameters:
- table- table name
- newTable- new table name
 
 - 
deleteMetadatapublic void deleteMetadata(String table) Delete the Metadata extensions for the table- Parameters:
- table- table name
 
 - 
deleteMetadataExtensionpublic void deleteMetadataExtension() Delete the Metadata extension
 - 
copyMetadatapublic void copyMetadata(String table, String newTable) Copy the Metadata extensions for the table- Parameters:
- table- table name
- newTable- new table name
 
 - 
deleteCrsWktExtensionpublic void deleteCrsWktExtension() Delete the WKT for Coordinate Reference Systems extension
 
- 
 
-