在构造对象时
FileOutputStream out = new FileOutputStream(File,true);或
FileOutputStream out = new FileOutputStream("****",true);后写入的字符串就是添加在现有文件之后