摘要:
java遍历目录下的目录和文件 public static void findStrFromManyFiles(String dirName) throws IOException{ File dir = new File(dirName); File[] files = dir.listFiles 阅读全文
摘要:
java读取文本内容 public static String readHtmlContent(String htmlPath) throws IOException { String htmlContentStr = ""; File htmlFile = new File(htmlPath); 阅读全文