com.supermap.services.tilesource

接口 UGCCacheWriter

    • 方法详细资料

      • getCacheName

        java.lang.String getCacheName()
        
      • setCacheName

        void setCacheName(java.lang.String name)
        
      • 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)
        
      • setPrjCoordSys

        void setPrjCoordSys(PrjCoordSys projCoordSys)
        
      • setDPI

        void setDPI(double dpi)
        
      • getDPI

        double getDPI()
        
      • setStorageType

        void setStorageType(StorageType storageType)
        
      • setCacheBounds

        void setCacheBounds(Rectangle2D bounds)
        
      • 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()
        
        把当前配置信息导出成配置文件,并返回配置文件内容。
        返回:
      • 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()