[2798] in java-interest

home help back first fref pref prev next nref lref last post

How to append to files?

daemon@ATHENA.MIT.EDU (Bob Beck)
Sat Oct 14 22:43:14 1995

From: rbk@ibeam.jf.intel.com (Bob Beck)
To: java-interest@java.sun.com
Date: Sat, 14 Oct 1995 17:00:39 -0700 (PDT)

When writing a stand-alone application, how does one arrange to append to a
file?  Ie, open a file for writing in "append" mode (eg, for a log file) ?
I've looked over java.io.* and can't find anything.  Closest is
RandomAccessFile, but "append mode" isn't documented and it's not clear how I
would make a PrintStream on one anyhow.

FYI: I'm using Java Alpha3 on Win NT 3.51.
-- 
Bob Beck                rbk@ibeam.intel.com     CompuServe: 71674,106
Intel Corporation       (503)264-8856           AOL: RDBeck
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post