摘要: 1 java.io.BufferedReader reader = new java.io.BufferedReader( 2 new java.io.FileReader("d:/testfile.txt")); 3 String s = reader.readLine(); 4 StringBuffer sb = new StringBuffer(); 5 while (s != null) { 6 sb.append(s); 7 sb.appe... 阅读全文
posted @ 2013-11-18 09:34 Shaman 阅读(465) 评论(0) 推荐(0) 编辑