java.io.Closeable
, java.io.Flushable
, java.lang.AutoCloseable
public class MonitorOutputStream
extends java.io.BufferedOutputStream
Constructor | Description |
---|---|
MonitorOutputStream(java.io.OutputStream out) |
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
Closes this output stream.
|
protected void |
onClose() |
Called after this stream is closed.
|
public void close() throws java.io.IOException
close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable
close
in class java.io.FilterOutputStream
java.io.IOException
protected void onClose() throws java.io.IOException
java.io.IOException