public class NBTParser
extends com.fasterxml.jackson.core.base.ParserBase
| Modifier and Type | Field and Description |
|---|---|
protected int |
_formatFeatures |
protected DataInput |
_in |
protected com.fasterxml.jackson.core.ObjectCodec |
_objectCodec
Codec used for data binding when (if) requested.
|
protected boolean |
end |
protected NBTReader |
reader |
_binaryValue, _byteArrayBuilder, _closed, _currInputProcessed, _currInputRow, _currInputRowStart, _expLength, _fractLength, _inputEnd, _inputPtr, _intLength, _ioContext, _nameCopied, _nameCopyBuffer, _nextToken, _numberBigDecimal, _numberBigInt, _numberDouble, _numberInt, _numberLong, _numberNegative, _numTypesValid, _parsingContext, _textBuffer, _tokenInputCol, _tokenInputRow, _tokenInputTotal_currToken, _lastClearedToken, BD_MAX_INT, BD_MAX_LONG, BD_MIN_INT, BD_MIN_LONG, BI_MAX_INT, BI_MAX_LONG, BI_MIN_INT, BI_MIN_LONG, CHAR_NULL, INT_0, INT_9, INT_APOS, INT_ASTERISK, INT_BACKSLASH, INT_COLON, INT_COMMA, INT_CR, INT_e, INT_E, INT_HASH, INT_LBRACKET, INT_LCURLY, INT_LF, INT_MINUS, INT_PERIOD, INT_PLUS, INT_QUOTE, INT_RBRACKET, INT_RCURLY, INT_SLASH, INT_SPACE, INT_TAB, MAX_ERROR_TOKEN_LENGTH, MAX_INT_D, MAX_INT_L, MAX_LONG_D, MIN_INT_D, MIN_INT_L, MIN_LONG_D, NO_BYTES, NO_INTS, NR_BIGDECIMAL, NR_BIGINT, NR_DOUBLE, NR_FLOAT, NR_INT, NR_LONG, NR_UNKNOWN| Constructor and Description |
|---|
NBTParser(com.fasterxml.jackson.core.io.IOContext context,
com.fasterxml.jackson.core.util.BufferRecycler nr,
int parserFeatures,
int nbtFeatures,
com.fasterxml.jackson.core.ObjectCodec codec,
InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_closeInput() |
boolean |
getBooleanValue() |
byte |
getByteValue() |
com.fasterxml.jackson.core.ObjectCodec |
getCodec() |
String |
getCurrentName() |
double |
getDoubleValue() |
float |
getFloatValue() |
int |
getIntValue() |
long |
getLongValue() |
Number |
getNumberValue() |
short |
getShortValue() |
String |
getText() |
char[] |
getTextCharacters() |
int |
getTextLength() |
int |
getTextOffset() |
boolean |
isExpectedStartObjectToken() |
com.fasterxml.jackson.core.JsonToken |
nextToken() |
void |
setCodec(com.fasterxml.jackson.core.ObjectCodec c) |
_checkStdFeatureChanges, _decodeBase64Escape, _decodeBase64Escape, _decodeEscaped, _eofAsNextChar, _finishString, _getByteArrayBuilder, _getSourceReference, _handleBase64MissingPadding, _handleEOF, _handleUnrecognizedCharacterEscape, _parseIntValue, _parseNumericValue, _releaseBuffers, _reportMismatchedEndMarker, _reportTooLongIntegral, _throwUnquotedSpace, _validJsonTokenList, _validJsonValueList, close, convertNumberToBigDecimal, convertNumberToBigInteger, convertNumberToDouble, convertNumberToInt, convertNumberToLong, disable, enable, getBigIntegerValue, getBinaryValue, getCurrentLocation, getCurrentValue, getDecimalValue, getNumberType, getParsingContext, getTokenCharacterOffset, getTokenColumnNr, getTokenLineNr, getTokenLocation, growArrayBy, hasTextCharacters, isClosed, isNaN, loadMore, loadMoreGuaranteed, overrideCurrentName, overrideStdFeatures, reportInvalidBase64Char, reportInvalidBase64Char, reset, resetAsNaN, resetFloat, resetInt, setCurrentValue, setFeatureMask, version_ascii, _asciiBytes, _constructError, _decodeBase64, _getCharDesc, _hasTextualNull, _longIntegerDesc, _longNumberDesc, _reportError, _reportError, _reportError, _reportInputCoercion, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOFInValue, _reportInvalidEOFInValue, _reportMissingRootWS, _reportUnexpectedChar, _throwInternal, _throwInvalidSpace, _wrapError, clearCurrentToken, currentToken, currentTokenId, getCurrentToken, getCurrentTokenId, getLastClearedToken, getValueAsBoolean, getValueAsDouble, getValueAsInt, getValueAsInt, getValueAsLong, getValueAsLong, getValueAsString, getValueAsString, hasCurrentToken, hasToken, hasTokenId, isExpectedStartArrayToken, nextValue, reportInvalidNumber, reportOverflowInt, reportOverflowInt, reportOverflowInt, reportOverflowLong, reportOverflowLong, reportOverflowLong, reportUnexpectedNumberChar, skipChildren_codec, _constructError, _reportUnsupportedOperation, canParseAsync, canReadObjectId, canReadTypeId, canUseSchema, configure, currentName, finishToken, getBinaryValue, getEmbeddedObject, getFeatureMask, getFormatFeatures, getInputSource, getNonBlockingInputFeeder, getObjectId, getSchema, getText, getTypeId, getValueAsBoolean, getValueAsDouble, isEnabled, isEnabled, nextBooleanValue, nextFieldName, nextFieldName, nextIntValue, nextLongValue, nextTextValue, overrideFormatFeatures, readBinaryValue, readBinaryValue, readValueAs, readValueAs, readValueAsTree, readValuesAs, readValuesAs, releaseBuffered, releaseBuffered, requiresCustomCodec, setRequestPayloadOnError, setRequestPayloadOnError, setRequestPayloadOnError, setSchemaprotected com.fasterxml.jackson.core.ObjectCodec _objectCodec
protected int _formatFeatures
protected DataInput _in
protected NBTReader reader
protected boolean end
public NBTParser(com.fasterxml.jackson.core.io.IOContext context,
com.fasterxml.jackson.core.util.BufferRecycler nr,
int parserFeatures,
int nbtFeatures,
com.fasterxml.jackson.core.ObjectCodec codec,
InputStream in)
throws IOException
IOExceptionpublic boolean isExpectedStartObjectToken()
isExpectedStartObjectToken in class com.fasterxml.jackson.core.base.ParserMinimalBaseprotected void _closeInput()
throws IOException
_closeInput in class com.fasterxml.jackson.core.base.ParserBaseIOExceptionpublic com.fasterxml.jackson.core.JsonToken nextToken()
throws IOException
nextToken in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic String getCurrentName()
getCurrentName in class com.fasterxml.jackson.core.base.ParserBasepublic String getText()
getText in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic char[] getTextCharacters()
getTextCharacters in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic int getTextLength()
getTextLength in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic int getTextOffset()
getTextOffset in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic com.fasterxml.jackson.core.ObjectCodec getCodec()
getCodec in class com.fasterxml.jackson.core.JsonParserpublic void setCodec(com.fasterxml.jackson.core.ObjectCodec c)
setCodec in class com.fasterxml.jackson.core.JsonParserpublic int getIntValue()
getIntValue in class com.fasterxml.jackson.core.base.ParserBasepublic long getLongValue()
getLongValue in class com.fasterxml.jackson.core.base.ParserBasepublic short getShortValue()
getShortValue in class com.fasterxml.jackson.core.JsonParserpublic byte getByteValue()
getByteValue in class com.fasterxml.jackson.core.JsonParserpublic double getDoubleValue()
getDoubleValue in class com.fasterxml.jackson.core.base.ParserBasepublic float getFloatValue()
getFloatValue in class com.fasterxml.jackson.core.base.ParserBasepublic boolean getBooleanValue()
getBooleanValue in class com.fasterxml.jackson.core.JsonParserpublic Number getNumberValue() throws com.fasterxml.jackson.databind.JsonMappingException
getNumberValue in class com.fasterxml.jackson.core.base.ParserBasecom.fasterxml.jackson.databind.JsonMappingExceptionCopyright © 2021 FasterXML. All rights reserved.