public class TokenIterator extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TokenIterator.ParserManager |
static class |
TokenIterator.RecoverableJsonException
Internal exception to unwind the stack when a syntax
error is detected within a record.
|
Modifier and Type | Field and Description |
---|---|
static int |
MAX_LOOKAHEAD |
Constructor and Description |
---|
TokenIterator(Iterable<InputStream> streams,
Function<InputStream,com.fasterxml.jackson.core.JsonParser> parserFunction,
JsonStructureOptions options,
ErrorFactory errorFactory) |
Modifier and Type | Method and Description |
---|---|
byte[] |
binaryValue() |
void |
close() |
int |
columnNumber() |
String |
context() |
double |
doubleValue() |
ErrorFactory |
errorFactory() |
com.fasterxml.jackson.core.JsonParser |
getParser() |
RuntimeException |
invalidValue(com.fasterxml.jackson.core.JsonToken token) |
int |
lineNumber() |
long |
longValue() |
com.fasterxml.jackson.core.JsonToken |
next() |
com.fasterxml.jackson.core.JsonToken |
peek() |
com.fasterxml.jackson.core.JsonToken |
requireNext() |
String |
stringValue() |
String |
textValue() |
String |
token() |
void |
unget(com.fasterxml.jackson.core.JsonToken token) |
public static final int MAX_LOOKAHEAD
public TokenIterator(Iterable<InputStream> streams, Function<InputStream,com.fasterxml.jackson.core.JsonParser> parserFunction, JsonStructureOptions options, ErrorFactory errorFactory)
public com.fasterxml.jackson.core.JsonParser getParser()
public ErrorFactory errorFactory()
public com.fasterxml.jackson.core.JsonToken next()
public String context()
public int lineNumber()
public int columnNumber()
public String token()
public com.fasterxml.jackson.core.JsonToken requireNext()
public com.fasterxml.jackson.core.JsonToken peek()
public void unget(com.fasterxml.jackson.core.JsonToken token)
public String textValue()
public long longValue()
public String stringValue()
public double doubleValue()
public byte[] binaryValue()
public RuntimeException invalidValue(com.fasterxml.jackson.core.JsonToken token)
public void close() throws IOException
IOException
Copyright © 1970 The Apache Software Foundation. All rights reserved.