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) |
void |
write(byte[] b,
int off,
int len) |
flush, write, writepublic NoCloseOutputStream(OutputStream out)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterOutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class FilterOutputStreamIOExceptionpublic static OutputStream resolveOutputStream(OutputStream output, boolean okToClose)
Copyright © 2018–2024 The Apache Software Foundation. All rights reserved.