日期:2014-05-20 浏览次数:20704 次
Writer writer = new FileWriter("file.txt",true); writer.append("some text"); writer.close(); ------解决方案--------------------
//楼上正解,就是true这个参数 Writer writer = new FileWriter("file.txt",true);