示例#1
0
 public static boolean acceptCompressFile(File file) {
   return FileUtil.isJar(file)
       || FileUtil.isZip(file)
       || FileUtil.isWar(file)
       || FileUtil.isDll(file);
 }
示例#2
0
 public static StringBuilder readFileContent(String filePath) throws JDependException {
   return FileUtil.readFileContent(filePath, "UTF-8");
 }
示例#3
0
 public static void saveFileContent(String filePath, StringBuilder content)
     throws JDependException {
   FileUtil.saveFileContent(filePath, content, "UTF-8");
 }