Class JsonConfigParser
java.lang.Object
com.fasterxml.jackson.core.JsonParser
com.fasterxml.jackson.core.util.JsonParserDelegate
com.github.wasiqb.coteafs.config.parser.JsonConfigParser
- All Implemented Interfaces:
com.fasterxml.jackson.core.Versioned,java.io.Closeable,java.lang.AutoCloseable
public class JsonConfigParser
extends com.fasterxml.jackson.core.util.JsonParserDelegate
- Since:
- 03-Oct-2019
- Author:
- Wasiq Bhamla
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description JsonConfigParser(com.fasterxml.jackson.core.JsonParser d) -
Method Summary
Modifier and Type Method Description java.lang.StringgetText()java.lang.StringgetValueAsString()java.lang.StringgetValueAsString(java.lang.String defaultValue)Methods inherited from class com.fasterxml.jackson.core.util.JsonParserDelegate
canReadObjectId, canReadTypeId, canUseSchema, clearCurrentToken, close, currentToken, currentTokenId, delegate, disable, enable, finishToken, getBigIntegerValue, getBinaryValue, getBooleanValue, getByteValue, getCodec, getCurrentLocation, getCurrentName, getCurrentToken, getCurrentTokenId, getCurrentValue, getDecimalValue, getDoubleValue, getEmbeddedObject, getFeatureMask, getFloatValue, getInputSource, getIntValue, getLastClearedToken, getLongValue, getNumberType, getNumberValue, getObjectId, getParsingContext, getSchema, getShortValue, getText, getTextCharacters, getTextLength, getTextOffset, getTokenLocation, getTypeId, getValueAsBoolean, getValueAsBoolean, getValueAsDouble, getValueAsDouble, getValueAsInt, getValueAsInt, getValueAsLong, getValueAsLong, hasCurrentToken, hasTextCharacters, hasToken, hasTokenId, isClosed, isEnabled, isExpectedStartArrayToken, isExpectedStartObjectToken, isNaN, nextToken, nextValue, overrideCurrentName, overrideFormatFeatures, overrideStdFeatures, readBinaryValue, requiresCustomCodec, setCodec, setCurrentValue, setFeatureMask, setSchema, skipChildren, versionMethods inherited from class com.fasterxml.jackson.core.JsonParser
_codec, _constructError, _reportUnsupportedOperation, canParseAsync, configure, currentName, getBinaryValue, getFormatFeatures, getNonBlockingInputFeeder, isEnabled, nextBooleanValue, nextFieldName, nextFieldName, nextIntValue, nextLongValue, nextTextValue, readBinaryValue, readValueAs, readValueAs, readValueAsTree, readValuesAs, readValuesAs, releaseBuffered, releaseBuffered, setRequestPayloadOnError, setRequestPayloadOnError, setRequestPayloadOnError
-
Constructor Details
-
JsonConfigParser
public JsonConfigParser(com.fasterxml.jackson.core.JsonParser d)- Parameters:
d-- Since:
- 03-Oct-2019
-
-
Method Details
-
getText
public java.lang.String getText() throws java.io.IOException- Overrides:
getTextin classcom.fasterxml.jackson.core.util.JsonParserDelegate- Throws:
java.io.IOException
-
getValueAsString
public java.lang.String getValueAsString() throws java.io.IOException- Overrides:
getValueAsStringin classcom.fasterxml.jackson.core.util.JsonParserDelegate- Throws:
java.io.IOException
-
getValueAsString
public java.lang.String getValueAsString(java.lang.String defaultValue) throws java.io.IOException- Overrides:
getValueAsStringin classcom.fasterxml.jackson.core.util.JsonParserDelegate- Throws:
java.io.IOException
-