- All Known Implementing Classes:
ASCIIValueFormatter,DateValueFormatter,EnumValueFormatter,SetValueFormatter
public interface ValueFormatter
ValueFormatter.
- Author:
- Werner Randelshofer
-
Method Summary
Modifier and TypeMethodDescriptiondescriptionFormat(Object data) Describes the data.Formats the specified value.prettyFormat(Object value) Formats the specified value in a human readable format.
-
Method Details
-
format
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
Formats the specified value in a human readable format. -
descriptionFormat
Describes the data. Returns null if no description is available.
-