Re: Problems appending to a file

1999-04-29 Thread Jeff Galyan
"Frank B. Brokken" wrote: > > Dear listmembers, > > I have a problem using FileOutputStreams. I want to be able to append to > an existing file, and I would like to be able to read the information back > later. > If you want to write the Strings as text appended to the file, you're better

Re: Problems appending to a file

1999-04-28 Thread Pavel Tolkachev
The problem is not with FileOutputStreams but with ObjectOutputStream(f). ObjectOutputStream is the consistent database and it must be written and read entirely 'in one eat'. This does not mean you cannot save two ObjectStreams to one file, but it is up to you to divide your file to the 2 relevant