Package | Description |
---|---|
java.text |
Provides classes and interfaces for handling text, dates, numbers, and messages
in a manner independent of natural languages.
|
Modifier and Type | Method and Description |
---|---|
AttributedCharacterIterator |
Format.formatToCharacterIterator(Object obj)
Formats an Object producing an
AttributedCharacterIterator . |
AttributedCharacterIterator |
DecimalFormat.formatToCharacterIterator(Object obj)
Formats an Object producing an
AttributedCharacterIterator . |
AttributedCharacterIterator |
AttributedString.getIterator()
Creates an AttributedCharacterIterator instance that provides access to the entire contents of
this string.
|
AttributedCharacterIterator |
AttributedString.getIterator(AttributedCharacterIterator.Attribute[] attributes)
Creates an AttributedCharacterIterator instance that provides access to
selected contents of this string.
|
AttributedCharacterIterator |
AttributedString.getIterator(AttributedCharacterIterator.Attribute[] attributes,
int beginIndex,
int endIndex)
Creates an AttributedCharacterIterator instance that provides access to
selected contents of this string.
|
Constructor and Description |
---|
AttributedString(AttributedCharacterIterator text)
Constructs an AttributedString instance with the given attributed
text represented by AttributedCharacterIterator.
|
AttributedString(AttributedCharacterIterator text,
int beginIndex,
int endIndex)
Constructs an AttributedString instance with the subrange of
the given attributed text represented by
AttributedCharacterIterator.
|
AttributedString(AttributedCharacterIterator text,
int beginIndex,
int endIndex,
AttributedCharacterIterator.Attribute[] attributes)
Constructs an AttributedString instance with the subrange of
the given attributed text represented by
AttributedCharacterIterator.
|