@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(@Nullable 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.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.FilterInputStream
java.io.IOException
public boolean equals(@Nullable java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void mark(int readlimit)
mark
in class java.io.FilterInputStream
public boolean markSupported()
markSupported
in class java.io.FilterInputStream
public void reset() throws java.io.IOException
reset
in class java.io.FilterInputStream
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object