Deprecated
This API is for ICU internal use only.
This contains information about where the various fields and placeholders ended up in the final result.
This class allows the result to be exported in several data types,
including a String, AttributedCharacterIterator, more (TBD).
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public <A extends Appendable> A | appendTo(A
The Appendable to which to append the string output. appendable)Implements com.
Deprecated
This API is for ICU internal use only.
Not yet implemented.
|
| public char | charAt(int
the index of the index)char value to be returnedImplements java.
Deprecated
This API is for ICU internal use only.
Not yet implemented.
|
| public int | length()
Implements java.
Deprecated
This API is for ICU internal use only.
Not yet implemented.
|
| public boolean | nextPosition(ConstrainedFieldPosition
The object used for iteration state. This can provide constraints to iterate over
only one specific field; see cfpos)ConstrainedFieldPosition#constrainField.Implements com.
Deprecated
This API is for ICU internal use only.
Not yet implemented.
|
| public CharSequence | subSequence(int
the start index, inclusive start, int the end index, exclusive end)Implements java.
Deprecated
This API is for ICU internal use only.
Not yet implemented.
|
| public AttributedCharacterIterator | toCharacterIterator()
Implements com.
Deprecated
This API is for ICU internal use only.
Not yet implemented.
|
| FormattedMessage | back to summary |
|---|---|
| public FormattedMessage()
Deprecated This API is for ICU internal use only. Not yet implemented.
| |
| appendTo | back to summary |
|---|---|
| public <A extends Appendable> A appendTo(A appendable) Implements com. Doc from com. Deprecated This API is for ICU internal use only. Not yet implemented. Appends the formatted string to an Appendable.
If an IOException occurs when appending to the Appendable, an unchecked
| |
| charAt | back to summary |
|---|---|
| public char charAt(int index) Implements java. Doc from java. Deprecated This API is for ICU internal use only. Not yet implemented.
Returns the If the
| |
| length | back to summary |
|---|---|
| public int length() Implements java. Doc from java. Deprecated This API is for ICU internal use only. Not yet implemented.
Returns the length of this character sequence. The length is the number
of 16-bit
| |
| nextPosition | back to summary |
|---|---|
| public boolean nextPosition(ConstrainedFieldPosition cfpos) Implements com. Doc from com. Deprecated This API is for ICU internal use only. Not yet implemented. Iterates over field positions in the FormattedValue. This lets you determine the position of specific types of substrings, like a month or a decimal separator. To loop over all field positions:
ConstrainedFieldPosition cfpos = new ConstrainedFieldPosition();
while (fmtval.nextPosition(cfpos)) {
// handle the field position; get information from cfpos
}
| |
| subSequence | back to summary |
|---|---|
| public CharSequence subSequence(int start, int end) Implements java. Doc from java. Deprecated This API is for ICU internal use only. Not yet implemented.
Returns a
| |
| toCharacterIterator | back to summary |
|---|---|
| public AttributedCharacterIterator toCharacterIterator() Implements com. Doc from com. Deprecated This API is for ICU internal use only. Not yet implemented. Exports the formatted number as an AttributedCharacterIterator.
Consider using
| |