Closeable
, Flushable
, AutoCloseable
FinishableWrapperOutputStream
, LZMAOutputStream
, XZOutputStream
public abstract class FinishableOutputStream extends OutputStream
Constructor | Description |
---|---|
FinishableOutputStream() |
Modifier and Type | Method | Description |
---|---|---|
void |
finish() |
Finish the stream without closing the underlying stream.
|
public void finish() throws IOException
The finish
method of FinishableOutputStream
does nothing. Subclasses should override it if they need finishing
support, which is the case, for example, with compressors.
IOException