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