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
| |
| |
| |
| |
| |
| |