public final class DisplayableFormat extends Format
Displayable interface.
Cannot parse.Format.Field| Modifier and Type | Field and Description |
|---|---|
static DisplayableFormat |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
StringBuffer |
format(Object obj,
StringBuffer toAppendTo,
FieldPosition pos)
Appends the object's default display string,
or nothing of
obj is null. |
Object |
parseObject(String source,
ParsePosition pos)
Throws an
UnsupportedOperationException. |
clone, format, formatToCharacterIterator, parseObjectpublic static final DisplayableFormat INSTANCE
public StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition pos)
Appends the object's default display string,
or nothing of obj is null.
format in class FormatIllegalArgumentException - if obj is not a Displayablepublic Object parseObject(String source, ParsePosition pos)
UnsupportedOperationException.parseObject in class FormatUnsupportedOperationException - alwaysCopyright © 2009-2014 JGoodies Software GmbH. All Rights Reserved.