BufferedWriter out = null; try { out = new BufferedWriter(new FileWriter("filename", true)); out.write("String"); } catch (IOException e) { // error processing code } finally { if (out != null) { out.close(); } }
BufferedWriter out = null; try { out = new BufferedWriter(new FileWriter("filename", true)); out.write("String"); } catch (IOException e) { // error processing code } finally { if (out != null) { out.close(); } }
Bloggerized by DheTemplate.com - Main Blogger