Exemple #1
0
 public String ConvertImagePathToThumbnail(String ImagePath) {
   String[] path = FileUtils.splitFullPath(ImagePath);
   String newpath = path[0] + "/" + new ZJXHFileStruct().getImageThumbnailName();
   return newpath + "/" + path[1] + "." + path[2];
 }
Exemple #2
0
 public String ConvertThumbnailPathToImage(String ThumbnailPath) {
   String[] path = FileUtils.splitFullPath(ThumbnailPath);
   String newpath = new File(path[0]).getParentFile().getAbsolutePath();
   return newpath + "/" + path[1] + "." + path[2];
 }
Exemple #3
0
 /** 获取当前图层文件的的文件路径 */
 public String getCurrentLayerPath() {
   return FileUtils.splitFullPath(getLayerFileFullPath()[0])[0];
 }