摘要: public static List<Map<String, String>> readTXT(String path) throws IOException { //根据路径新建文件对象 File file = new File(path); //转换为字节流 FileInputStream fi 阅读全文
posted @ 2017-01-19 16:10 bake056 阅读(176) 评论(0) 推荐(0) 编辑
摘要: public static void writeXMLFile(Document doc,String xmlFileName) throws IOException{ OutputFormat format = OutputFormat.createPrettyPrint();// 创建文件输出的 阅读全文
posted @ 2017-01-10 19:57 bake056 阅读(148) 评论(0) 推荐(0) 编辑
摘要: str=str.replaceAll("\\s",""); 阅读全文
posted @ 2017-01-10 19:52 bake056 阅读(98) 评论(0) 推荐(0) 编辑