Tue, 28 Aug 2007 23:07:14 -0700 (PDT), /richa/:

It worked. Thanx a lot :-)

For the sake of completeness, the following sample uses just the Java 1.1 API:

    FileOutputStream fileOut = new FileOutputStream("...");
    FileDescriptor fd = fileOut.getFD();
    OutputStream out = new FilterOutputStream(fileOut) {
        public void close() { /* no op */ }
    };
    // Do serialize to out.
    fd.sync();
    fileOut.close();

--
Stanimir

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to