February 16, 2017

[HDGEM] How to append to Java FileWriter with append mode


Pass true as a second argument to FileWriter to turn on "append" mode.
fout = new FileWriter("filename.txt", true);


--
Posted By Blogger to HDGEM at 2/16/2017 11:45:00 AM
Post a Comment

Featured Post

The new Dell XPS 13’s overall design is 30% thinner and lighter than its predecessor

The new Dell XPS 13 has twice the performance of the XPS 13 launched in 2015, as well as improved battery life that should enable the model...