Class RadixDeserializeConverter

java.lang.Object
com.fasterxml.jackson.databind.util.StdConverter<String,Integer>
io.github.yvasyliev.telegramforwarderbot.databind.util.RadixDeserializeConverter
All Implemented Interfaces:
com.fasterxml.jackson.databind.util.Converter<String,Integer>

public class RadixDeserializeConverter extends com.fasterxml.jackson.databind.util.StdConverter<String,Integer>
Converts a string representation of an integer in a specified radix to an Integer.

This converter uses the radix defined in TelegramProperties to parse the string.

  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.fasterxml.jackson.databind.util.Converter

    com.fasterxml.jackson.databind.util.Converter.None
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(String value)
     

    Methods inherited from class com.fasterxml.jackson.databind.util.StdConverter

    _findConverterType, getInputType, getOutputType

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.fasterxml.jackson.databind.util.Converter

    convert, convert
  • Constructor Details

    • RadixDeserializeConverter

      public RadixDeserializeConverter()
  • Method Details

    • convert

      public Integer convert(String value)
      Specified by:
      convert in interface com.fasterxml.jackson.databind.util.Converter<String,Integer>
      Specified by:
      convert in class com.fasterxml.jackson.databind.util.StdConverter<String,Integer>