public interface InputAccessor
Modifier and Type | Interface and Description |
---|---|
static class |
InputAccessor.Std
Basic implementation that reads data from given
InputStream and buffers it as necessary. |
Modifier and Type | Method and 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 IOException
IOException
may get thrown.IOException
byte nextByte() throws IOException
EOFException
.IOException
void reset()
Copyright © 2021 JBoss by Red Hat. All rights reserved.