|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.io.InputStream
|
+--java.io.FilterInputStream
|
+--net.sourceforge.jtds.util.KnownLengthInputStream
An input stream that will continue to read until the expected number of bytes has been read.
| Fields inherited from class java.io.FilterInputStream |
in |
| Fields inherited from class java.io.InputStream |
SKIP_BUFFER_SIZE, skipBuffer |
| Constructor Summary | |
KnownLengthInputStream(java.io.InputStream in)
Constructs an object around an existing stream. |
|
| Method Summary | |
int |
read(byte[] b,
int off,
int len)
Reads exactly len bytes from the stream. |
| Methods inherited from class java.io.FilterInputStream |
available, close, mark, markSupported, read, read, reset, skip |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public KnownLengthInputStream(java.io.InputStream in)
in - the existing stream| Method Detail |
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
len bytes from the stream.read in class java.io.FilterInputStreamb - the buffer to hold the read bytesoff - the offset within the bufferlen - the number of bytes to readlen)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||