摘要:
1.向文件末尾添加内容BufferedWriter out = null; try { out = new BufferedWriter(new FileWriter(”filename”, true)); out.write(”aString”); } catch (IOException e) { // error processing code } finally { if (out != null) { out.close(); } } View Code 2.得到当前方法的名字Strin... 阅读全文