![]() |
Quadcap Embeddable Server |
Inheritance diagram for com.quadcap.io.LimitedInputStream:

Definition at line 51 of file LimitedInputStream.java.
Public Member Functions | |
| LimitedInputStream (InputStream in, int limit) | |
| Construct a new LimitedInputStream, attached to the specified input stream and with the specified limit. | |
| int | read () throws IOException |
| Read a byte from this stream, returning -1 if the underlying stream returns EOF, or if we've reached our limit. | |
Package Attributes | |
| InputStream | in |
| int | cnt = 0 |
| int | limit |
|
||||||||||||
|
Construct a new LimitedInputStream, attached to the specified input stream and with the specified limit.
Definition at line 63 of file LimitedInputStream.java. |
|
|
Read a byte from this stream, returning -1 if the underlying stream returns EOF, or if we've reached our limit.
Definition at line 74 of file LimitedInputStream.java. References com.quadcap.io.LimitedInputStream.cnt, com.quadcap.io.LimitedInputStream.in, and com.quadcap.io.LimitedInputStream.limit. |
|
|
Definition at line 53 of file LimitedInputStream.java. Referenced by com.quadcap.io.LimitedInputStream.read(). |
|
|
Definition at line 52 of file LimitedInputStream.java. Referenced by com.quadcap.io.LimitedInputStream.read(). |
|
|
Definition at line 54 of file LimitedInputStream.java. Referenced by com.quadcap.io.LimitedInputStream.read(). |