I'm dedicated agile security architect/system architect/developer with specialty of open source framework.
Writer writer = null; try { writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream("filename.txt"), "UTF-8")); writer.write(string); } finally { if (writer != null) { writer.close(); } }
Note: Only a member of this blog may post a comment.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.