@Internal public class UnownedInputStream extends java.io.FilterInputStream
OutputStream wrapper which protects against the user attempting to modify the
underlying stream by closing it or using mark.| Constructor and Description |
|---|
UnownedInputStream(java.io.InputStream delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
void |
mark(int readlimit) |
boolean |
markSupported() |
void |
reset() |
java.lang.String |
toString() |
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FilterInputStreamjava.io.IOExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void mark(int readlimit)
mark in class java.io.FilterInputStreampublic boolean markSupported()
markSupported in class java.io.FilterInputStreampublic void reset()
throws java.io.IOException
reset in class java.io.FilterInputStreamjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object