Class DateValueFormatter

java.lang.Object
org.monte.media.tiff.DateValueFormatter
All Implemented Interfaces:
ValueFormatter

public class DateValueFormatter extends Object implements ValueFormatter
DateValueFormatter.
Author:
Werner Randelshofer
  • Constructor Details

    • DateValueFormatter

      public DateValueFormatter()
  • Method Details

    • format

      public Object format(Object value)
      Description copied from interface: ValueFormatter
      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.
      Specified by:
      format in interface ValueFormatter
    • prettyFormat

      public Object prettyFormat(Object value)
      Description copied from interface: ValueFormatter
      Formats the specified value in a human readable format.
      Specified by:
      prettyFormat in interface ValueFormatter
    • descriptionFormat

      public String descriptionFormat(Object data)
      Description copied from interface: ValueFormatter
      Describes the data. Returns null if no description is available.
      Specified by:
      descriptionFormat in interface ValueFormatter