Class RadixSerializeConverter

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

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

This converter uses the radix defined in TelegramProperties to convert integers to their string representation.

  • 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
     

    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

    • RadixSerializeConverter

      public RadixSerializeConverter()
  • Method Details

    • convert

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