Re: How to check for a file and if it exists, append to it; otherwise, create and write to it?
Posted By:
AlessandroA_Garbagnati
Posted On:
Saturday, March 31, 2001 11:30 PM
Aileen,
You can use java.io.FileWriter or java.io.FileOutputStream.
If you check the java documentation for that you'll see that both have a constructor that will allow you to pass an 'append' flag.