java.io.Closeable
, java.io.Flushable
, java.lang.AutoCloseable
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 | Description |
---|---|
UncloseableOutputStream(java.io.OutputStream s) |
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
|
void |
write(byte[] b,
int off,
int len) |
public void close()
close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable
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