The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
July 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Writing/Appending to Files

Posted by Hiran Watson on July 31, 2001 at 5:32 PM

Hi, I'm writing a program that works with files, and writing to files. I was wondering how I can append to a file that already exists. I've tried using the write method from the FileWriter class, but that just starts from the beginning of the file, and erases whatever is already there. Thanks in advance for the help.
Hiran



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us