Java I/O: How to append to an already existing text file.
Posted
by Joe
on Stack Overflow
See other posts from Stack Overflow
or by Joe
Published on 2010-04-29T15:09:47Z
Indexed on
2010/04/29
15:17 UTC
Read the original article
Hit count: 252
Hi I am having no problem writing to or appending to a file, the only problem is that as soon as I quit the program and then run it again, it creates a new file overwriting my original file. This is a problem, as I am using the text file to keep a running tally.
Is there a way to get an already created text file as an object and then append to it?
Thanks in advance.
© Stack Overflow or respective owner