Package com.jgoodies.common.format
Class DisplayableFormat
java.lang.Object
java.text.Format
com.jgoodies.common.format.DisplayableFormat
- All Implemented Interfaces:
Serializable,Cloneable
Formats implementations of the
Displayable interface.
Cannot parse.- Since:
- 1.7
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.text.Format
Format.Field -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformat(Object obj, StringBuffer toAppendTo, FieldPosition pos) parseObject(String source, ParsePosition pos) Throws anUnsupportedOperationException.Methods inherited from class java.text.Format
clone, format, formatToCharacterIterator, parseObject
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
DisplayableFormat
private DisplayableFormat()
-
-
Method Details
-
format
Appends the object's default display string, or nothing of
objisnull.- Specified by:
formatin classFormat- Throws:
IllegalArgumentException- ifobjis not aDisplayable
-
parseObject
Throws anUnsupportedOperationException.- Specified by:
parseObjectin classFormat- Throws:
UnsupportedOperationException- always
-