AttributedCharacterIterator
describing the formatted value.
@stable ICU 3.8
AttributedCharacterIterator
. You can use the returned AttributedCharacterIterator
to build the resulting String, as well as to determine information about the resulting String. Each attribute key of the AttributedCharacterIterator will be of type NumberFormat.Field
, with the attribute value being the same as the attribute key.
@exception NullPointerException if obj is null.
@exception IllegalArgumentException when the Format cannot format thegiven object.
@exception ArithmeticException if rounding is needed with roundingmode being set to RoundingMode.UNNECESSARY
@param obj The object to format
@return AttributedCharacterIterator describing the formatted value.
@since 1.4
AttributedCharacterIterator
. You can use the returned AttributedCharacterIterator
to build the resulting String, as well as to determine information about the resulting String. Each attribute key of the AttributedCharacterIterator will be of type Field
. It is up to each Format
implementation to define what the legal values are for each attribute in the AttributedCharacterIterator
, but typically the attribute key is also used as the attribute value.
The default implementation creates an AttributedCharacterIterator
with no attributes. Subclasses that support fields should override this and create an AttributedCharacterIterator
with meaningful attributes.
@exception NullPointerException if obj is null.
@exception IllegalArgumentException when the Format cannot format thegiven object.
@param obj The object to format
@return AttributedCharacterIterator describing the formatted value.
@since 1.4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|