Java添加字符串到文件
try { BufferedWriter out = new BufferedWriter(new FileWriter("filename", true)); out.write("aString"); out.close(); } catch (IOException e) { }
Java添加字符串到文件
try { BufferedWriter out = new BufferedWriter(new FileWriter("filename", true)); out.write("aString"); out.close(); } catch (IOException e) { }