org.sblim.cimclient.internal.http.io
public class BoundedInputStream extends FilterInputStream
| Constructor Summary | |
|---|---|
| BoundedInputStream(InputStream pStream)
Ctor. | |
| BoundedInputStream(InputStream pStream, long pMaximumLength)
Ctor.
| |
| Method Summary | |
|---|---|
| int | available() |
| void | close() |
| int | read() |
| int | read(byte[] buf) |
| int | read(byte[] buf, int off, int len) |
| long | skip(long len) |
Parameters: pStream The stream this one is build upon
Parameters: pStream The stream this one is build upon pMaximumLength The maximum number of bytes that can be read from this stream. A value of -1 represents unlimimted mode.