public class DontCloseOutputStream extends FilterOutputStream
out| Constructor and Description |
|---|
DontCloseOutputStream(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Does nothing on close to protect the wrapped OutputStream.
|
flush, write, write, writepublic DontCloseOutputStream(OutputStream out)
public void close()
close in interface Closeableclose in interface AutoCloseableclose in class FilterOutputStreamCopyright © 2016. All rights reserved.