LocationAwarePositionalBufferedStreampublic interface Positional extends LocationAware
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isDone() |
Is the stream done? Equivalent to ! hasNext() for an iterator?
|
int |
peek() |
Return the next byte in the first, without actually reading it from the stream.
|
long |
skip(long nBytes) |
Skip the next nBytes in the stream.
|
getPositionboolean isDone()
throws IOException
IOExceptionlong skip(long nBytes) throws IOException
nBytes - to skip, must be >= 0IOExceptionint peek() throws IOException
IOException