InputAccessor.Std
public interface InputAccessor
Modifier and Type | Interface | Description |
---|---|---|
static class |
InputAccessor.Std |
Basic implementation that reads data from given
InputStream and buffers it as necessary. |
Modifier and Type | Method | Description |
---|---|---|
boolean |
hasMoreBytes() |
Method to call to check if more input is available.
|
byte |
nextByte() |
Returns next byte available, if any; if no more bytes are
available, will throw
EOFException . |
void |
reset() |
Method that can be called to reset accessor to read from beginning
of input.
|
boolean hasMoreBytes() throws java.io.IOException
IOException
may get thrown.java.io.IOException
byte nextByte() throws java.io.IOException
EOFException
.java.io.IOException
void reset()