public class UncloseableOutputStream extends FilterOutputStream
This is useful in rare situations where the underlying stream is being shared among consumers and therefore should not be closed accidentally by one of them.
out| Constructor and Description |
|---|
UncloseableOutputStream(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
flush, write, write, writepublic UncloseableOutputStream(OutputStream out)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterOutputStreamIOExceptionCopyright © 2017–2021 DataStax. All rights reserved.