2013年(92)
分类: 信息化
2013-02-26 02:31:19
[代码] java io在文件结尾持续添加内容 public static void write(String path, String content) {
try {
File f = new File(path);
BufferedWriter output = new BufferedWriter(new FileWriter(f,true));
output ; .write(content "\r\n");
output.close();
} catch (Exception e) {
e.printStackTrace();
}
} ;