摘要:
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... 阅读全文