Package | Description |
---|---|
java.text |
Modifier and Type | Method and Description |
---|---|
AttributedCharacterIterator |
Format.formatToCharacterIterator(Object object)
Formats the specified object using the rules of this format and returns
an
AttributedCharacterIterator with the formatted string and no
attributes. |
AttributedCharacterIterator |
AttributedString.getIterator()
Returns an
AttributedCharacterIterator that gives access to the
complete content of this attributed string. |
AttributedCharacterIterator |
AttributedString.getIterator(AttributedCharacterIterator.Attribute[] attributes)
Returns an
AttributedCharacterIterator that gives access to the
complete content of this attributed string. |
AttributedCharacterIterator |
AttributedString.getIterator(AttributedCharacterIterator.Attribute[] attributes,
int start,
int end)
Returns an
AttributedCharacterIterator that gives access to the
contents of this attributed string starting at index start up to
index end . |
Constructor and Description |
---|
AttributedString(AttributedCharacterIterator iterator)
Constructs an
AttributedString from an AttributedCharacterIterator , which represents attributed text. |
AttributedString(AttributedCharacterIterator iterator,
int start,
int end)
Constructs an
AttributedString from a range of the text contained
in the specified AttributedCharacterIterator , starting at start and ending at end . |
AttributedString(AttributedCharacterIterator iterator,
int start,
int end,
AttributedCharacterIterator.Attribute[] attributes)
Constructs an
AttributedString from a range of the text contained
in the specified AttributedCharacterIterator , starting at start , ending at end and it will copy the attributes defined in
the specified set. |