TCLUG Development Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Java File I/O Question



Greet the sun all,

I have a question concerning file I/O.  If I have a file that exists, I
do the following:

File t_file = new File(file_exists_name);
FileWriter t_fileWriter = new FileWriter(t_file);

At this point, it empties my existing file rather than append.  How do
you get access to the file for append?

I have not found any answer in either Java I/O or The Java Programming
Language.

-- 
Perry Hoekstra
Consultant
Talent Software Solutions
dutchman@mn.uswest.net