public interface UGCCacheWriter extends Disposable
限定符和类型 | 接口和说明 |
---|---|
static class |
UGCCacheWriter.TerrainInfo |
限定符和类型 | 方法和说明 |
---|---|
boolean |
checkTileSizeAvailable(int tileWidth) |
java.lang.Boolean |
fromConfigFile(java.lang.String fileName) |
Rectangle2D |
getCacheBounds() |
java.lang.String |
getCacheName() |
java.util.Map<java.lang.Double,java.lang.String> |
getCacheScaleCaptions() |
DataOperator |
getDataOperator() |
double |
getDPI() |
java.lang.String |
getHashCode() |
Rectangle2D |
getIndexBounds() |
java.lang.String |
getOutputFolder() |
PrjCoordSys |
getPrjCoordSys() |
StorageType |
getStorageType() |
OutputFormat |
getTileFormat() |
byte[] |
getTileFromCompactFile(java.io.File compactFile, java.lang.String password, int x, int y) |
java.lang.String |
getTilePath(java.lang.Double scale, int row, int col) |
int |
getTileSize() |
java.lang.Boolean |
getTransparent() |
java.lang.Boolean |
infIsValid(java.lang.String infPath) |
void |
setCacheBounds(Rectangle2D bounds) |
void |
setCacheName(java.lang.String name) |
void |
setCacheScaleCaptions(java.lang.Double[] scales) |
void |
setCacheScaleCaptions(java.util.HashMap<java.lang.Double,java.lang.String> newScaleCaptions) |
void |
setDataOperator(DataOperator dataOperator) |
void |
setDPI(double dpi) |
void |
setHashCode(java.lang.String hashCode) |
void |
setIndexBounds(Rectangle2D rectangle2d) |
void |
setOutputFolder(java.lang.String folder) |
void |
setPrjCoordSys(PrjCoordSys projCoordSys) |
void |
setStorageType(StorageType storageType) |
void |
setTileFormat(OutputFormat tileFormat) |
void |
setTileSize(int tileSize) |
void |
setTransparent(java.lang.Boolean transparent) |
void |
terrainInfo(UGCCacheWriter.TerrainInfo terrainInfo) |
java.lang.String |
toConfigFile()
把当前配置信息导出成配置文件,并返回配置文件内容。
|
java.lang.Boolean |
toConfigFile(java.lang.String fileName) |
void |
userExtendFields(java.util.Map<java.lang.String,java.lang.String> userExtendFields) |
void |
writeTileToCompactFile(Tile tile, byte[] tileData) |
dispose
java.lang.String getCacheName()
void setCacheName(java.lang.String name)
OutputFormat getTileFormat()
void setTileFormat(OutputFormat tileFormat)
int getTileSize()
void setTileSize(int tileSize)
java.lang.String getHashCode()
void setHashCode(java.lang.String hashCode)
java.util.Map<java.lang.Double,java.lang.String> getCacheScaleCaptions()
void setCacheScaleCaptions(java.lang.Double[] scales)
void setCacheScaleCaptions(java.util.HashMap<java.lang.Double,java.lang.String> newScaleCaptions)
PrjCoordSys getPrjCoordSys()
void setPrjCoordSys(PrjCoordSys projCoordSys)
void setDPI(double dpi)
double getDPI()
void setStorageType(StorageType storageType)
StorageType getStorageType()
Rectangle2D getCacheBounds()
void setCacheBounds(Rectangle2D bounds)
Rectangle2D getIndexBounds()
java.lang.String getOutputFolder()
void setOutputFolder(java.lang.String folder)
java.lang.Boolean getTransparent()
void setTransparent(java.lang.Boolean transparent)
java.lang.String getTilePath(java.lang.Double scale, int row, int col)
java.lang.Boolean toConfigFile(java.lang.String fileName) throws java.lang.Exception
java.lang.Exception
java.lang.Boolean fromConfigFile(java.lang.String fileName)
java.lang.Boolean infIsValid(java.lang.String infPath)
void setIndexBounds(Rectangle2D rectangle2d)
boolean checkTileSizeAvailable(int tileWidth)
java.lang.String toConfigFile()
void terrainInfo(UGCCacheWriter.TerrainInfo terrainInfo)
void userExtendFields(java.util.Map<java.lang.String,java.lang.String> userExtendFields)
byte[] getTileFromCompactFile(java.io.File compactFile, java.lang.String password, int x, int y)
void writeTileToCompactFile(Tile tile, byte[] tileData)
void setDataOperator(DataOperator dataOperator)
DataOperator getDataOperator()