
public class ZipFileArchive extends Object implements IArchiveFile
| Constructor and Description |
|---|
ZipFileArchive() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the archive file and releases resources.
|
InputStream |
getInputStream(ITileSource pTileSource,
MapTile pTile)
Get the input stream for the requested tile.
|
Set<String> |
getTileSources()
returns a list of tile source names that are available in the archive, if supported
|
static ZipFileArchive |
getZipFileArchive(File pFile) |
void |
init(File pFile) |
String |
toString() |
protected ZipFile mZipFile
public static ZipFileArchive getZipFileArchive(File pFile) throws ZipException, IOException
ZipExceptionIOExceptionpublic void init(File pFile) throws Exception
init in interface IArchiveFileExceptionpublic InputStream getInputStream(ITileSource pTileSource, MapTile pTile)
IArchiveFilegetInputStream in interface IArchiveFilepublic Set<String> getTileSources()
IArchiveFilegetTileSources in interface IArchiveFilepublic void close()
IArchiveFileclose in interface IArchiveFile