public class LocalizedNumberFormatterAsFormat extends Format
Format.Field| Constructor and Description |
|---|
LocalizedNumberFormatterAsFormat(LocalizedNumberFormatter formatter,
ULocale locale) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
StringBuffer |
format(Object obj,
StringBuffer toAppendTo,
FieldPosition pos)
Formats a Number using the wrapped LocalizedNumberFormatter.
|
AttributedCharacterIterator |
formatToCharacterIterator(Object obj)
Formats a Number using the wrapped LocalizedNumberFormatter.
|
LocalizedNumberFormatter |
getNumberFormatter()
Gets the LocalizedNumberFormatter that this wrapper class uses to format numbers.
|
int |
hashCode() |
Object |
parseObject(String source,
ParsePosition pos)
Not supported.
|
clone, format, parseObjectpublic LocalizedNumberFormatterAsFormat(LocalizedNumberFormatter formatter, ULocale locale)
public StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition pos)
public AttributedCharacterIterator formatToCharacterIterator(Object obj)
formatToCharacterIterator in class Formatpublic Object parseObject(String source, ParsePosition pos)
parseObject in class Formatpublic LocalizedNumberFormatter getNumberFormatter()