public class ContinuousOutputStream
extends java.io.FilterOutputStream
OutputStream
wrapper that can't be closed and flushes data instead when close()
is called.Modifier | Constructor and Description |
---|---|
protected |
ContinuousOutputStream(java.io.OutputStream out) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Instead of closing the
OutputStream flushes its data. |
protected ContinuousOutputStream(java.io.OutputStream out)
public void close() throws java.io.IOException
OutputStream
flushes its data.close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.FilterOutputStream
java.io.IOException