|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SequentialRead
An interface allowing sequential read operations.
Method Summary | |
---|---|
void |
close()
Release resources that are being held. |
int |
read()
Read a single byte of data. |
int |
read(byte[] b,
int offset,
int length)
Read a buffer of data. |
Method Detail |
---|
void close() throws IOException
IOException
- If there is an error closing this resource.int read() throws IOException
IOException
- If there is an error while reading the data.int read(byte[] b, int offset, int length) throws IOException
b
- The buffer to write the data to.offset
- Offset into the buffer to start writing.length
- The amount of data to attempt to read.
IOException
- If there was an error while reading the data.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |