Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright 2012-04-26 Werner Randelshofer
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.monte.media.tiff
Interface ValueFormatter

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

    public interface ValueFormatter

ValueFormatter.

Version:
  1.0 2010-03-22 Created.
Author:
  Werner Randelshofer

Method Summary
`java.lang.String` | `descriptionFormat(java.lang.Object data)` Describes the data.
`java.lang.Object` | `format(java.lang.Object value)` Formats the specified value.
`java.lang.Object` | `prettyFormat(java.lang.Object value)` Formats the specified value in a human readable format.

Method Detail

### format

    java.lang.Object format(java.lang.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

    java.lang.Object prettyFormat(java.lang.Object value)

  Formats the specified value in a human readable format.

### descriptionFormat

    java.lang.String descriptionFormat(java.lang.Object data)

  Describes the data. Returns null if no description is available.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright 2012-04-26 Werner Randelshofer
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD