FileWriter,BufferedWriter如何输出换行?
FileWriter writer = new FileWriter("D:"+File.separator+"hello.txt",true);
writer.write("helo java!你好 爪哇!\r\n");
FileWriter writer = new FileWriter("D:"+File.separator+"hello.txt",true);
原创
2012-10-28 07:23:37 ·
2195 阅读 ·
0 评论