|
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.SetValueFormatter
public class SetValueFormatter
Formats integer values as a set.
| Constructor Summary | |
|---|---|
SetValueFormatter(java.lang.Object... set)
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 SetValueFormatter(java.lang.Object... set)
If only one integer is provided, it specifies the bits which must be set. If two integers are provided, the second value specifies a bit mask.
| 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 | ||||||||