@Internal public class UnownedOutputStream extends java.io.FilterOutputStream
OutputStream wrapper which protects against the user attempting to modify the
underlying stream by closing it.| Constructor and Description |
|---|
UnownedOutputStream(java.io.OutputStream delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
void |
write(byte[] b,
int off,
int len) |
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FilterOutputStreamjava.io.IOExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOException