public class WatchableOutputStream extends java.io.ByteArrayOutputStream implements WatchableStream
| Constructor and Description |
|---|
WatchableOutputStream() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
setWatcher(OutputStreamWatcher watcher) |
reset, size, toByteArray, toString, toString, toString, write, write, writeToclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsize, toByteArray, writepublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.ByteArrayOutputStreamjava.io.IOExceptionOutputStream.close()public void setWatcher(OutputStreamWatcher watcher)
setWatcher in interface WatchableStream