Class IntegerTokenConverter

All Implemented Interfaces:
MonoTypedConverter, ContextAware, LifeCycle

public class IntegerTokenConverter extends DynamicConverter<Object> implements MonoTypedConverter
When asked to convert an integer, IntegerTokenConverter the string value of that integer.
Author:
Ceki Gulcu
  • Field Details

  • Constructor Details

    • IntegerTokenConverter

      public IntegerTokenConverter()
  • Method Details

    • convert

      public String convert(int i)
    • convert

      public String convert(Object o)
      Description copied from class: Converter
      The convert method is responsible for extracting data from the event and storing it for later use by the write method.
      Specified by:
      convert in class Converter<Object>
      Parameters:
      o -
    • isApplicable

      public boolean isApplicable(Object o)
      Specified by:
      isApplicable in interface MonoTypedConverter