org.freehep.util.io
Interface FinishableOutputStream

All Known Implementing Classes:
ASCII85OutputStream, ASCIIHexOutputStream, Base64OutputStream, BitOutputStream, ByteCountOutputStream, ByteOrderOutputStream, CompressableOutputStream, FlateOutputStream, RunLengthOutputStream, TaggedOutputStream, UniquePrintStream

public interface FinishableOutputStream

The FinishableOutputStream allows a generic way of calling finish on an output stream without closing it.

Version:
$Id: FinishableOutputStream.java 8584 2006-08-10 23:06:37Z duns $
Author:
Mark Donszelmann

Method Summary
 void finish()
          Finishes the current outputstream (compresses, flushes, caluclates CRC) and writes whatever is left in the buffers, but does not close the stream.
 

Method Detail

finish

void finish()
            throws IOException
Finishes the current outputstream (compresses, flushes, caluclates CRC) and writes whatever is left in the buffers, but does not close the stream.

Throws:
IOException - if write fails


Copyright © 2000-2007 FreeHEP. All Rights Reserved.