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 java.io.IOException
IOException
may get thrown.java.io.IOException
- If check for more content failed due to issue with
underlying input abstractionbyte nextByte() throws java.io.IOException
EOFException
.java.io.IOException
- If called and there is no more content availablevoid reset()
Copyright © 2010 - 2023 Adobe. All Rights Reserved