| Modifier and Type | Class and Description |
|---|---|
| public static class | InputAccessor.Std
Basic implementation that reads data from given
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: Whether there is at least one more input byte accessibleMethod to call to check if more input is available. |
| public byte | Returns: Next content byte, if availableReturns next byte available, if any; if no more bytes are
available, will throw |
| public void |
| hasMoreBytes | back to summary |
|---|---|
| public boolean hasMoreBytes() throws IOException 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
| |
| nextByte | back to summary |
|---|---|
| public byte nextByte() throws IOException Returns next byte available, if any; if no more bytes are
available, will throw
| |
| reset | back to summary |
|---|---|
| public void reset() Method that can be called to reset accessor to read from beginning of input. | |
InputStream and buffers it as necessary.
| Modifier and Type | Field and Description |
|---|---|
| protected final byte[] | |
| protected int | _bufferedEnd
End of valid bytes in the buffer (points to one past last valid) |
| protected final int | |
| protected final InputStream | |
| protected int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public DataFormatMatcher | |
| public boolean | hasMoreBytes()
Implements com. |
| public byte | nextByte()
Implements com. java..
|
| public void | reset()
Implements com. |
| _buffer | back to summary |
|---|---|
| protected final byte[] _buffer | |
| _bufferedEnd | back to summary |
|---|---|
| protected int _bufferedEnd End of valid bytes in the buffer (points to one past last valid) | |
| _bufferedStart | back to summary |
|---|---|
| protected final int _bufferedStart | |
| _in | back to summary |
|---|---|
| protected final InputStream _in | |
| _ptr | back to summary |
|---|---|
| protected int _ptr Pointer to next available buffered byte in | |
| Std | back to summary |
|---|---|
| public Std(InputStream in, byte[] buffer) | |
| Std | back to summary |
|---|---|
| public Std(byte[] inputDocument) | |
| Std | back to summary |
|---|---|
| public Std(byte[] inputDocument, int start, int len) | |
| createMatcher | back to summary |
|---|---|
| public DataFormatMatcher createMatcher(JsonFactory match, MatchStrength matchStrength) | |
| hasMoreBytes | back to summary |
|---|---|
| public boolean hasMoreBytes() throws IOException Implements com. Doc from com. 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
| |
| nextByte | back to summary |
|---|---|
| public byte nextByte() throws IOException Implements com. Doc from com. Returns next byte available, if any; if no more bytes are
available, will throw
| |
| reset | back to summary |
|---|---|
| public void reset() Implements com. Doc from com. Method that can be called to reset accessor to read from beginning of input.
| |