public abstract class FinishableOutputStream extends OutputStream
Constructor and Description |
---|
FinishableOutputStream() |
Modifier and Type | Method and 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