com.fasterxml.jackson.core.format.InputAccessor |
Known Indirect Subclasses |
Interface used to expose beginning of a data file to data format detection code.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
InputAccessor.Std | Basic implementation that reads data from given InputStream and buffers it as necessary. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Method to call to check if more input is available.
| |||||||||||
Returns next byte available, if any; if no more bytes are
available, will throw java.io.EOFException.
| |||||||||||
Method that can be called to reset accessor to read from beginning
of input.
|
Method to call to check if more input is available.
Since this may result in more content to be read (at least
one more byte), a IOException
may get thrown.
IOException |
---|
Returns next byte available, if any; if no more bytes are available, will throw java.io.EOFException.
IOException |
---|
Method that can be called to reset accessor to read from beginning of input.