FileWriter overwrites (in other words: rewrite from the beginning) the file .... unless you use the constructor with the boolean append parameter so that you can choose.
Type: Posts; User: andbin
FileWriter overwrites (in other words: rewrite from the beginning) the file .... unless you use the constructor with the boolean append parameter so that you can choose.
Updating a file, in the sense to keep the actual content and "pass" over changing only some things is more difficult, especially if it's a text file.
In your case, it's sufficient to recreate the...