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)
检测缓存是否正确类
|
public static void main(String[] args)
args
- public void initalize(String cacheRoot, ArrayList<String> sciFiles, int processcount, int mergeTaskCount, boolean error2udb, boolean checkSolid, boolean checkBlock, String checkType, String boundaryRegion)
public boolean checkOriginalCache(String cacheRoot, String caption, int left, int top, int right, int bottom, double reolustion, CacheWriter cacheFile)
public boolean checkCompactCache(String cacheRoot, String caption, int left, int top, int right, int bottom, double reolustion, CacheWriter cacheFile)
public boolean checkMongoCache(TileStorageManager manager, int level, int left, int top, int right, int bottom, double reolustion, CacheWriter cacheFile)
public double getReolustion(double scale, PrjCoordSys prjCoordSys, double cacheDPI)
public boolean isSolidWhite(BufferedImage image)
public boolean isBlockWhite(BufferedImage image)
public boolean isSolidAlpha(BufferedImage image)
public boolean isBlockAlpha(BufferedImage image)
public boolean isSolidColor(BufferedImage image, Color color)
public boolean isBlockColor(BufferedImage image, Color color)
Copyright © 2021–2024 SuperMap. All rights reserved.