public class GEMFFileArchive extends Object implements IArchiveFile
Constructor and Description |
---|
GEMFFileArchive() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the archive file and releases resources.
|
static GEMFFileArchive |
getGEMFFileArchive(File pFile) |
InputStream |
getInputStream(ITileSource pTileSource,
long pMapTileIndex)
Get the input stream for the requested tile and tile source.
|
Set<String> |
getTileSources()
returns a list of tile source names that are available in the archive, if supported.
|
void |
init(File pFile)
initialize the file archive, such as performing initial scans, queries, opening a database, etc
|
void |
setIgnoreTileSource(boolean pIgnoreTileSource) |
String |
toString() |
public static GEMFFileArchive getGEMFFileArchive(File pFile) throws IOException
IOException
public void init(File pFile) throws Exception
IArchiveFile
init
in interface IArchiveFile
Exception
public InputStream getInputStream(ITileSource pTileSource, long pMapTileIndex)
IArchiveFile
getInputStream
in interface IArchiveFile
TileSourceFactory
public Set<String> getTileSources()
IArchiveFile
getTileSources
in interface IArchiveFile
public void setIgnoreTileSource(boolean pIgnoreTileSource)
setIgnoreTileSource
in interface IArchiveFile
public void close()
IArchiveFile
close
in interface IArchiveFile