|
Copyright 2011-01-06 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.randelshofer.media.tiff.EnumValueFormatter
public class EnumValueFormatter
Formats integer values as an enumeration.
| Constructor Summary | |
|---|---|
EnumValueFormatter(java.lang.Object... enumeration)
Creates a new enumeration. |
|
| Method Summary | |
|---|---|
java.lang.String |
descriptionFormat(java.lang.Object value)
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnumValueFormatter(java.lang.Object... enumeration)
| Method Detail |
|---|
public java.lang.Object format(java.lang.Object value)
ValueFormatter
format in interface ValueFormatterpublic java.lang.Object prettyFormat(java.lang.Object value)
ValueFormatter
prettyFormat in interface ValueFormatterpublic java.lang.String descriptionFormat(java.lang.Object value)
ValueFormatter
descriptionFormat in interface ValueFormatter
|
Copyright 2011-01-06 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||