@NotThreadSafe public abstract class DisconnectingInputStream extends DecoratingInputStream
DisconnectingOutputStreamdelegate| Modifier | Constructor and Description |
|---|---|
protected |
DisconnectingInputStream(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
protected void |
checkOpen()
|
abstract void |
close() |
abstract boolean |
isOpen() |
void |
mark(int readlimit) |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
markSupported, read, toStringprotected DisconnectingInputStream(@Nullable InputStream in)
public int available()
throws IOException
available in class DecoratingInputStreamIOExceptionprotected final void checkOpen()
throws InputClosedException
InputClosedException - iff isOpen() returns false.public abstract void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class DecoratingInputStreamIOExceptionpublic abstract boolean isOpen()
public void mark(int readlimit)
mark in class DecoratingInputStreampublic int read()
throws IOException
read in class DecoratingInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class DecoratingInputStreamIOExceptionpublic void reset()
throws IOException
reset in class DecoratingInputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class DecoratingInputStreamIOExceptionCopyright © 2005-2013 Schlichtherle IT Services. All Rights Reserved.