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() |
public static ZipFileArchive getZipFileArchive(File pFile) throws ZipException, IOException
ZipException
IOException
public void init(File pFile) throws Exception
init
in interface IArchiveFile
Exception
public InputStream getInputStream(ITileSource pTileSource, MapTile pTile)
IArchiveFile
getInputStream
in interface IArchiveFile
public Set<String> getTileSources()
IArchiveFile
getTileSources
in interface IArchiveFile
public void close()
IArchiveFile
close
in interface IArchiveFile
Copyright © 2015. All Rights Reserved.