public interface TileStore extends Disposable
Tile storage.
Modifier and Type | Method and Description |
---|---|
boolean |
appendTileVersionUpdate(java.lang.String tileVersionName, double[] scaleDenominators, double[] resolutions, Rectangle2D bounds)
Adds the update information to the specified tile version
|
void |
commit()
Stores the tiles in a tile set.
|
java.lang.String |
createNewVersion(java.lang.String parentVersion, java.lang.String versionDescription, VersionUpdate versionUpdate)
Creates a new tile version.
|
java.lang.String |
getLastTileVersion()
Gets the latest tile version.
|
TilesetDesc |
getTilesetDesc()
Gets the tile description.
|
boolean |
init(TileSourceInfo tileSourceInfo, MetaData metaData, boolean createTilesetIfNotExist)
Initialization.
|
void |
storeTile( tile)
Stores tiles.
|
void |
storeTiles([] tiles)
Stores tiles.
|
dispose
boolean init(TileSourceInfo tileSourceInfo, MetaData metaData, boolean createTilesetIfNotExist)
Initialization.
tileSourceInfo
-metaData
-createTilesetIfNotExist
-void storeTile( tile) throws StoreTileFailedException
Stores tiles.
title
-StoreTileFailedException
void storeTiles([] tiles) throws StoreTileFailedException
Stores tiles.
tiles
-StoreTileFailedException
java.lang.String createNewVersion(java.lang.String parentVersion, java.lang.String versionDescription, VersionUpdate versionUpdate)
Creates a new tile version.
parentVersion
-versionDescription
-versionUpdate
-java.lang.String getLastTileVersion()
Gets the latest tile version.
boolean appendTileVersionUpdate(java.lang.String tileVersionName, double[] scaleDenominators, double[] resolutions, Rectangle2D bounds)
Adds the update information to the specified tile version
tileVersionName
-scaleDenominators
-resolutions
-bounds
-void commit() throws StoreTileFailedException
Stores the tiles in a tile set.
StoreTileFailedException
TilesetDesc getTilesetDesc()
Gets the tile description.