摘要: InputStreamis=Thread.currentThread().getContextClassLoader().getResourceAsStream("io/aa.txt");Stringstr=IOUtils.toString(is);System.out.println(str);Filefile=newFile("fa");FileUtils.writeStringToFile(file,str);System.out.println(FileUtils.readFileToString(file));FileUtils.forceDe 阅读全文
posted @ 2012-07-16 13:13 学无先后 达者为先 阅读(3109) 评论(0) 推荐(0)