protected List < Extensions > getExtensions ( String extensionName , String tableName ) { List < Extensions > extensions = null ; try { if ( extensionsDao . isTableExists ( ) ) { extensions = extensionsDao . queryByExtension ( extensionName , tableName ) ; } } catch ( SQLException e ) { throw new GeoPackageException ( "Failed to query for '" + extensionName + "' extension for GeoPackage: " + geoPackage . getName ( ) + ", Table Name: " + tableName , e ) ; } return extensions ; }
Get the extension for the name and table name