Interface ValueFormatter

All Known Implementing Classes:
ASCIIValueFormatter, DateValueFormatter, EnumValueFormatter, SetValueFormatter

public interface ValueFormatter
ValueFormatter.
Author:
Werner Randelshofer
  • Method Details

    • format

      Object format(Object value)
      Formats the specified value. If the value is of the desired type, it is replaced by an object which can be handled easier. For example, an integer value by a descriptive String.
    • prettyFormat

      Object prettyFormat(Object value)
      Formats the specified value in a human readable format.
    • descriptionFormat

      String descriptionFormat(Object data)
      Describes the data. Returns null if no description is available.