java.lang.Object | |
↳ | com.fasterxml.jackson.core.format.InputAccessor.Std |
Basic implementation that reads data from given InputStream and buffers it as necessary.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
_buffer | |||||||||||
_bufferedAmount | Number of bytes in _buffer that are valid
buffered content. |
||||||||||
_in | |||||||||||
_ptr | Pointer to next available buffered byte in _buffer . |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor used when content to check is available via
input stream and must be read.
| |||||||||||
Constructor used when the full input (or at least enough leading bytes
of full input) is available.
|
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.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.fasterxml.jackson.core.format.InputAccessor
|
Constructor used when content to check is available via input stream and must be read.
Constructor used when the full input (or at least enough leading bytes of full input) is available.
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.