public void removeExtension ( ) { deleteRelationships ( ) ; geoPackage . deleteTable ( StyleTable . TABLE_NAME ) ; geoPackage . deleteTable ( IconTable . TABLE_NAME ) ; try { if ( extensionsDao . isTableExists ( ) ) { extensionsDao . deleteByExtension ( EXTENSION_NAME ) ; } } catch ( SQLException e ) { throw new GeoPackageException ( "Failed to delete Feature Style extension. GeoPackage: " + geoPackage . getName ( ) , e ) ; } }
Completely remove and delete the extension and all styles and icons