Re: Writting to a file with persisting old file setting.
Wednesday, April 10, 2002 04:33 AM
A printwriter totally replaces the file. There are two approaches to take. One is to read the file, and write a new file that preserves these properties. The other way would be to open the file using a RandomAccessFile which would let you alter the file in place.