public static boolean fileCache(String name, Document doc) { return FileUtil.writeXmlFile(rootPath + "_s/" + name, doc); }
public static String readFileCache(String name) { return FileUtil.readStringFromFile(rootPath + "_s/" + name); }
public static boolean fileCache(String name, StringBuilder content) { return FileUtil.writeFile(rootPath + "_s/" + name, content, "UTF-8"); }