public abstract class FinishableOutputStream extends OutputStream
Output stream that supports finishing without closing the underlying stream.
finishpublic void finish() throws IOExceptionFinish the stream without closing the underlying stream. No more data may be written to the stream after finishing.
FinishableOutputStreamdoes nothing. Subclasses should override it if they need finishing support, which is the case, for example, with compressors.