public class UncloseableOutputStream
extends java.io.FilterOutputStream
OutputStream
is never
closed in some particular context - typically when wrapped by another OutputStream
that
should not be forwarding its OutputStream.close()
calls. Not needed in production code.Constructor and Description |
---|
UncloseableOutputStream(java.io.OutputStream s) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
write(byte[] b,
int off,
int len) |
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.FilterOutputStream
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class java.io.FilterOutputStream
java.io.IOException