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

    Nested classes/interfaces inherited from class com.fasterxml.jackson.core.JsonParser

    com.fasterxml.jackson.core.JsonParser.Feature, com.fasterxml.jackson.core.JsonParser.NumberType
  • Field Summary

    Fields inherited from class com.fasterxml.jackson.core.util.JsonParserDelegate

    delegate

    Fields inherited from class com.fasterxml.jackson.core.JsonParser

    _features, _requestPayload
  • Constructor Summary

    Constructors 
    Constructor Description
    JsonConfigParser​(com.fasterxml.jackson.core.JsonParser d)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getText()  
    java.lang.String getValueAsString()  
    java.lang.String getValueAsString​(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, version

    Methods 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      getText in class com.fasterxml.jackson.core.util.JsonParserDelegate
      Throws:
      java.io.IOException
    • getValueAsString

      public java.lang.String getValueAsString() throws java.io.IOException
      Overrides:
      getValueAsString in class com.fasterxml.jackson.core.util.JsonParserDelegate
      Throws:
      java.io.IOException
    • getValueAsString

      public java.lang.String getValueAsString​(java.lang.String defaultValue) throws java.io.IOException
      Overrides:
      getValueAsString in class com.fasterxml.jackson.core.util.JsonParserDelegate
      Throws:
      java.io.IOException