com.supermap.data.processing.cache
类 CacheCheck
- java.lang.Object
-
- com.supermap.data.processing.cache.CacheCheck
-
public class CacheCheck extends Object
-
-
构造器概要
构造器 构造器和说明 CacheCheck()
-
方法概要
所有方法 静态方法 实例方法 具体方法 限定符和类型 方法和说明 void
check(String cacheRoot, String sciFile)
boolean
checkCompactCache(String cacheRoot, String caption, int left, int top, int right, int bottom, double reolustion, CacheWriter cacheFile)
boolean
checkMongoCache(TileStorageManager manager, int level, int left, int top, int right, int bottom, double reolustion, CacheWriter cacheFile)
boolean
checkOriginalCache(String cacheRoot, String caption, int left, int top, int right, int bottom, double reolustion, CacheWriter cacheFile)
double
getReolustion(double scale, PrjCoordSys prjCoordSys, double cacheDPI)
static ArrayList<String>
getSciFileList(String scipath)
void
initalize(String cacheRoot, ArrayList<String> sciFiles, int processcount, int mergeTaskCount, boolean error2udb, boolean checkSolid, boolean checkBlock, String checkType, String boundaryRegion)
boolean
isBlockAlpha(BufferedImage image)
boolean
isBlockColor(BufferedImage image, Color color)
boolean
isBlockWhite(BufferedImage image)
boolean
isSolidAlpha(BufferedImage image)
boolean
isSolidColor(BufferedImage image, Color color)
boolean
isSolidWhite(BufferedImage image)
static void
main(String[] args)
检测缓存是否正确类
-
-
-
方法详细资料
-
main
public static void main(String[] args)
检测缓存是否正确类- 参数:
args
-
-
initalize
public void initalize(String cacheRoot, ArrayList<String> sciFiles, int processcount, int mergeTaskCount, boolean error2udb, boolean checkSolid, boolean checkBlock, String checkType, String boundaryRegion)
-
checkOriginalCache
public boolean checkOriginalCache(String cacheRoot, String caption, int left, int top, int right, int bottom, double reolustion, CacheWriter cacheFile)
-
checkCompactCache
public boolean checkCompactCache(String cacheRoot, String caption, int left, int top, int right, int bottom, double reolustion, CacheWriter cacheFile)
-
checkMongoCache
public boolean checkMongoCache(TileStorageManager manager, int level, int left, int top, int right, int bottom, double reolustion, CacheWriter cacheFile)
-
getReolustion
public double getReolustion(double scale, PrjCoordSys prjCoordSys, double cacheDPI)
-
isSolidWhite
public boolean isSolidWhite(BufferedImage image)
-
isBlockWhite
public boolean isBlockWhite(BufferedImage image)
-
isSolidAlpha
public boolean isSolidAlpha(BufferedImage image)
-
isBlockAlpha
public boolean isBlockAlpha(BufferedImage image)
-
isSolidColor
public boolean isSolidColor(BufferedImage image, Color color)
-
isBlockColor
public boolean isBlockColor(BufferedImage image, Color color)
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.