-
public interface IArchiveFileThe IArchiveFile is primary used to load tiles from a file archive. Generally, this should only be used for archives that require little to no computation in order to provide a given tile.
For cases thereby the tiles are rendered or manipulated (such as from another projection)
-
-
Method Summary
Modifier and Type Method Description abstract voidinit(File pFile)initialize the file archive, such as performing initial scans, queries, opening a database, etc abstract InputStreamgetInputStream(ITileSource tileSource, long pMapTileIndex)Get the input stream for the requested tile and tile source. abstract voidclose()Closes the archive file and releases resources. abstract Set<String>getTileSources()returns a list of tile source names that are available in the archive, if supported. abstract voidsetIgnoreTileSource(boolean pIgnoreTileSource)-
-
Method Detail
-
init
abstract void init(File pFile)
initialize the file archive, such as performing initial scans, queries, opening a database, etc
-
getInputStream
abstract InputStream getInputStream(ITileSource tileSource, long pMapTileIndex)
Get the input stream for the requested tile and tile source.
Also keep in mind that the tile source has an explicit tile size in pixels, and tile source name.
-
close
abstract void close()
Closes the archive file and releases resources.
-
getTileSources
abstract Set<String> getTileSources()
returns a list of tile source names that are available in the archive, if supported. Ifnot supported, return an empty set
-
setIgnoreTileSource
abstract void setIgnoreTileSource(boolean pIgnoreTileSource)
-
-
-
-