Class IntegerConverter

java.lang.Object
com.jidesoft.converter.NumberConverter
com.jidesoft.converter.IntegerConverter
All Implemented Interfaces:
ObjectConverter

public class IntegerConverter extends NumberConverter
Converter which converts Integer to String and converts it back.
  • Constructor Details

    • IntegerConverter

      public IntegerConverter()
    • IntegerConverter

      public IntegerConverter(NumberFormat format)
  • Method Details

    • fromString

      public Object fromString(String string, ConverterContext context)
      Description copied from interface: ObjectConverter
      Converts from String to an object.
      Parameters:
      string - the string
      context - context to be converted
      Returns:
      the object converted from string
    • supportFromString

      public boolean supportFromString(String string, ConverterContext context)
      Description copied from interface: ObjectConverter
      If it supports fromString.
      Parameters:
      string - the string
      context - context to be converted
      Returns:
      true if it supports