@NotThreadSafe public abstract class DisconnectingInputStream extends DecoratingInputStream
DisconnectingOutputStream
delegate
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, toString
protected DisconnectingInputStream(@Nullable InputStream in)
public int available() throws IOException
available
in class DecoratingInputStream
IOException
protected final void checkOpen() throws InputClosedException
InputClosedException
- iff isOpen()
returns false
.public abstract void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class DecoratingInputStream
IOException
public abstract boolean isOpen()
public void mark(int readlimit)
mark
in class DecoratingInputStream
public int read() throws IOException
read
in class DecoratingInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class DecoratingInputStream
IOException
public void reset() throws IOException
reset
in class DecoratingInputStream
IOException
public long skip(long n) throws IOException
skip
in class DecoratingInputStream
IOException
Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.