Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Sunil Garg   on Apr 01 In Java Category.

  
Question Answered By: Fedde Bakker   on Apr 01

Well if i am not wrong then FileWriter has an overloaded constructor that
accepts a boolean value like this...

output = new PrintWriter(new BufferedWriter(
new FileWriter(fileName+"a", true)));

after setting it to true it will start adding new information from the end i
guess... for reference browse the API and find out...

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Problems with IO Or get search suggestion and latest updates.


Tagged: