java.lang.Object
org.monte.media.tiff.ASCIIValueFormatter
- All Implemented Interfaces:
ValueFormatter
Formats byte arrays as string.
- Author:
- Werner Randelshofer
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
ASCIIValueFormatter
public ASCIIValueFormatter()Creates a new enumeration. The enumeration consists of a list of String=Integer pairs.
-
-
Method Details
-
format
Description copied from interface:ValueFormatterFormats 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:
formatin interfaceValueFormatter
-
prettyFormat
Description copied from interface:ValueFormatterFormats the specified value in a human readable format.- Specified by:
prettyFormatin interfaceValueFormatter
-
descriptionFormat
Description copied from interface:ValueFormatterDescribes the data. Returns null if no description is available.- Specified by:
descriptionFormatin interfaceValueFormatter
-