Package com.ibm.icu.text
Class CurrencyFormat
java.lang.Object
java.text.Format
com.ibm.icu.text.UFormat
com.ibm.icu.text.MeasureFormat
com.ibm.icu.text.CurrencyFormat
- All Implemented Interfaces:
Serializable
,Cloneable
Temporary internal concrete subclass of MeasureFormat implementing parsing and formatting of
CurrencyAmount objects. This class is likely to be redesigned and rewritten in the near future.
This class currently delegates to DecimalFormat for parsing and formatting.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ibm.icu.text.MeasureFormat
MeasureFormat.FormatWidth, MeasureFormat.MeasureProxy, MeasureFormat.NumberFormatterCacheEntry, MeasureFormat.NumericFormatters
Nested classes/interfaces inherited from class com.ibm.icu.text.UFormat
UFormat.SpanField
Nested classes/interfaces inherited from class java.text.Format
Format.Field
-
Field Summary
FieldsFields inherited from class com.ibm.icu.text.MeasureFormat
NUMBER_FORMATTER_CURRENCY, NUMBER_FORMATTER_INTEGER, NUMBER_FORMATTER_STANDARD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformat
(Object obj, StringBuffer toAppendTo, FieldPosition pos) Override Format.format().parseObject
(String source, ParsePosition pos) Override Format.parseObject().private Object
private Object
Methods inherited from class com.ibm.icu.text.MeasureFormat
clearCache, equals, formatMeasurePerUnit, formatMeasures, formatMeasures, getCurrencyFormat, getCurrencyFormat, getCurrencyFormat, getInstance, getInstance, getInstance, getInstance, getLocale, getNumberFormat, getNumberFormatInternal, getNumberFormatter, getRangeFormat, getUnitDisplayName, getWidth, hashCode, toCurrencyProxy, toTimeUnitProxy, withLocale, withNumberFormat
Methods inherited from class java.text.Format
clone, format, formatToCharacterIterator, parseObject
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
-
Constructor Details
-
CurrencyFormat
-
-
Method Details
-
format
Override Format.format().- Overrides:
format
in classMeasureFormat
- Parameters:
obj
- must be a Collection<? extends Measure>, Measure[], or Measure object.toAppendTo
- Formatted string appended here.pos
- Identifies a field in the formatted text.- See Also:
-
parseObject
Override Format.parseObject().- Overrides:
parseObject
in classMeasureFormat
- See Also:
-
writeReplace
- Throws:
ObjectStreamException
-
readResolve
- Throws:
ObjectStreamException
-