This discussion is archived
2 Replies Latest reply: Jul 27, 2011 6:57 PM by 878485 RSS

Jar Modify Text File

878485 Newbie
Currently Being Moderated
Hi,

I want to store some information in text file.Which can be modified.
I am able to read the text file but not able to update or append text on exiting file.

For reading from jar file i used below code
BufferedReader in = new BufferedReader(new InputStreamReader(this.getClass().getResourceAsStream(fileName)));

But while writing i am not able to do that one.
If this is possible can any help me or guide me.

Thanks and regards,
Rakesh

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points