org.freehep.util.io
Interface FinishableOutputStream

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

public interface FinishableOutputStream

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

Version:
$Id: src/main/java/org/freehep/util/io/FinishableOutputStream.java 96b41b903496 2005/11/21 19:50:18 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 © 2012. All Rights Reserved.