|
|||||||||
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 | +--org.apache.java.io.ReadFullyInputStream
This class implements an input stream whose read() methods perform a full reading of the requested length.
Fields inherited from class java.io.FilterInputStream |
in |
Fields inherited from class java.io.InputStream |
SKIP_BUFFER_SIZE,
skipBuffer |
Constructor Summary | |
ReadFullyInputStream(java.io.InputStream in)
Default Constructor |
Method Summary | |
int |
read(byte[] b)
Fill given byte array with bytes read from the stream and return only when all the array has been filled. |
int |
read(byte[] b,
int off,
int len)
Fill given byte array with bytes read from the stream and return only when all the array has been filled. |
Methods inherited from class java.io.FilterInputStream |
available,
close,
mark,
markSupported,
read,
reset,
skip |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public ReadFullyInputStream(java.io.InputStream in)
Method Detail |
public int read(byte[] b) throws java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |