Class DoubleConverter

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

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

    • DoubleConverter

      public DoubleConverter()
    • DoubleConverter

      public DoubleConverter(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