public class NoCloseOutputStream extends FilterOutputStream
out| Constructor and Description |
|---|
NoCloseOutputStream(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static OutputStream |
resolveOutputStream(OutputStream output,
boolean okToClose) |
flush, write, write, writepublic NoCloseOutputStream(OutputStream out)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterOutputStreamIOExceptionpublic static OutputStream resolveOutputStream(OutputStream output, boolean okToClose)
Copyright © 2018–2021 The Apache Software Foundation. All rights reserved.