com.supermap.services.tilesource
接口 UGCCacheWriter
-
- 所有超级接口:
- Disposable
public interface UGCCacheWriter extends Disposable
-
-
嵌套类概要
嵌套类 限定符和类型 接口和说明 static classUGCCacheWriter.TerrainInfo
-
方法概要
方法 限定符和类型 方法和说明 booleancheckTileSizeAvailable(int tileWidth)java.lang.BooleanfromConfigFile(java.lang.String fileName)Rectangle2DgetCacheBounds()java.lang.StringgetCacheName()java.util.Map<java.lang.Double,java.lang.String>getCacheScaleCaptions()DataOperatorgetDataOperator()doublegetDPI()java.lang.StringgetHashCode()Rectangle2DgetIndexBounds()java.lang.StringgetOutputFolder()PrjCoordSysgetPrjCoordSys()StorageTypegetStorageType()OutputFormatgetTileFormat()byte[]getTileFromCompactFile(java.io.File compactFile, java.lang.String password, int x, int y)java.lang.StringgetTilePath(java.lang.Double scale, int row, int col)intgetTileSize()java.lang.BooleangetTransparent()java.lang.BooleaninfIsValid(java.lang.String infPath)voidsetCacheBounds(Rectangle2D bounds)voidsetCacheName(java.lang.String name)voidsetCacheScaleCaptions(java.lang.Double[] scales)voidsetCacheScaleCaptions(java.util.HashMap<java.lang.Double,java.lang.String> newScaleCaptions)voidsetDataOperator(DataOperator dataOperator)voidsetDPI(double dpi)voidsetHashCode(java.lang.String hashCode)voidsetIndexBounds(Rectangle2D rectangle2d)voidsetOutputFolder(java.lang.String folder)voidsetPrjCoordSys(PrjCoordSys projCoordSys)voidsetStorageType(StorageType storageType)voidsetTileFormat(OutputFormat tileFormat)voidsetTileSize(int tileSize)voidsetTransparent(java.lang.Boolean transparent)voidterrainInfo(UGCCacheWriter.TerrainInfo terrainInfo)java.lang.StringtoConfigFile()把当前配置信息导出成配置文件,并返回配置文件内容。java.lang.BooleantoConfigFile(java.lang.String fileName)voiduserExtendFields(java.util.Map<java.lang.String,java.lang.String> userExtendFields)voidwriteTileToCompactFile(Tile tile, byte[] tileData)-
从接口继承的方法 com.supermap.services.components.spi.Disposable
dispose
-
-
-
-
方法详细资料
-
getCacheName
java.lang.String getCacheName()
-
setCacheName
void setCacheName(java.lang.String name)
-
getTileFormat
OutputFormat getTileFormat()
-
setTileFormat
void setTileFormat(OutputFormat tileFormat)
-
getTileSize
int getTileSize()
-
setTileSize
void setTileSize(int tileSize)
-
getHashCode
java.lang.String getHashCode()
-
setHashCode
void setHashCode(java.lang.String hashCode)
-
getCacheScaleCaptions
java.util.Map<java.lang.Double,java.lang.String> getCacheScaleCaptions()
-
setCacheScaleCaptions
void setCacheScaleCaptions(java.lang.Double[] scales)
-
setCacheScaleCaptions
void setCacheScaleCaptions(java.util.HashMap<java.lang.Double,java.lang.String> newScaleCaptions)
-
getPrjCoordSys
PrjCoordSys getPrjCoordSys()
-
setPrjCoordSys
void setPrjCoordSys(PrjCoordSys projCoordSys)
-
setDPI
void setDPI(double dpi)
-
getDPI
double getDPI()
-
setStorageType
void setStorageType(StorageType storageType)
-
getStorageType
StorageType getStorageType()
-
getCacheBounds
Rectangle2D getCacheBounds()
-
setCacheBounds
void setCacheBounds(Rectangle2D bounds)
-
getIndexBounds
Rectangle2D getIndexBounds()
-
getOutputFolder
java.lang.String getOutputFolder()
-
setOutputFolder
void setOutputFolder(java.lang.String folder)
-
getTransparent
java.lang.Boolean getTransparent()
-
setTransparent
void setTransparent(java.lang.Boolean transparent)
-
getTilePath
java.lang.String getTilePath(java.lang.Double scale, int row, int col)
-
toConfigFile
java.lang.Boolean toConfigFile(java.lang.String fileName) throws java.lang.Exception- 抛出:
java.lang.Exception
-
fromConfigFile
java.lang.Boolean fromConfigFile(java.lang.String fileName)
-
infIsValid
java.lang.Boolean infIsValid(java.lang.String infPath)
-
setIndexBounds
void setIndexBounds(Rectangle2D rectangle2d)
-
checkTileSizeAvailable
boolean checkTileSizeAvailable(int tileWidth)
-
toConfigFile
java.lang.String toConfigFile()
把当前配置信息导出成配置文件,并返回配置文件内容。- 返回:
-
terrainInfo
void terrainInfo(UGCCacheWriter.TerrainInfo terrainInfo)
-
userExtendFields
void userExtendFields(java.util.Map<java.lang.String,java.lang.String> userExtendFields)
-
getTileFromCompactFile
byte[] getTileFromCompactFile(java.io.File compactFile, java.lang.String password, int x, int y)
-
writeTileToCompactFile
void writeTileToCompactFile(Tile tile, byte[] tileData)
-
setDataOperator
void setDataOperator(DataOperator dataOperator)
-
getDataOperator
DataOperator getDataOperator()
-
-