private static void delete ( GeoPackageCore geoPackage , String table ) { ExtensionsDao extensionsDao = geoPackage . getExtensionsDao ( ) ; try { if ( extensionsDao . isTableExists ( ) ) { extensionsDao . deleteByTableName ( table ) ; } } catch ( SQLException e ) { throw new GeoPackageException ( "Failed to delete Table extensions. GeoPackage: " + geoPackage . getName ( ) + ", Table: " + table , e ) ; } }
Delete the extensions for the table