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