Top Description Constructors Methods
org.tukaani.xz

public abstract Class FinishableOutputStream

extends OutputStream
Class Inheritance
Known Direct Subclasses
org.tukaani.xz.FinishableWrapperOutputStream, org.tukaani.xz.LZMA2OutputStream, org.tukaani.xz.LZMAOutputStream, org.tukaani.xz.SimpleOutputStream, org.tukaani.xz.UncompressedLZMA2OutputStream, org.tukaani.xz.XZOutputStream, org.tukaani.xz.BlockOutputStream, org.tukaani.xz.CountingOutputStream, org.tukaani.xz.DeltaOutputStream
Imports
java.io.OutputStream, .IOException

Output stream that supports finishing without closing the underlying stream.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
finish()

Finish the stream without closing the underlying stream.

Inherited from java.io.OutputStream:
closeflushnullOutputStreamwritewritewrite

Constructor Detail

FinishableOutputStreamback to summary
public FinishableOutputStream()

Method Detail

finishback to summary
public void finish() throws IOException

Finish the stream without closing the underlying stream. No more data may be written to the stream after finishing.

The finish method of FinishableOutputStream does nothing. Subclasses should override it if they need finishing support, which is the case, for example, with compressors.