- 浏览: 1102 次
最新评论
文章列表
bufferReader读取文本 换行后的内容读取不出
File file = new File("d:\\test.txt");
BufferedReader bufferedReader;
String text = "";
try {
bufferedReader = new BufferedReader(new FileReader(file));
String line = null;
line = bufferedReader.readLine();
System.out.print ...