code: 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;
  	}
docs: Get the extension for the name and table name
  
  @param extensionName
  extension name
  @param tableName
  table name
  @return extension