@Deprecated public class PlainStringFormattedValue extends Object implements FormattedValue
| Constructor and Description |
|---|
PlainStringFormattedValue(String value)
Deprecated.
This API is for unit testing only.
|
| Modifier and Type | Method and Description |
|---|---|
<A extends Appendable> |
appendTo(A appendable)
Deprecated.
This API is for unit testing only.
|
char |
charAt(int index)
Deprecated.
This API is for unit testing only.
|
int |
length()
Deprecated.
This API is for unit testing only.
|
boolean |
nextPosition(ConstrainedFieldPosition cfpos)
Deprecated.
This API is for unit testing only.
|
CharSequence |
subSequence(int start,
int end)
Deprecated.
This API is for unit testing only.
|
AttributedCharacterIterator |
toCharacterIterator()
Deprecated.
This API is for unit testing only.
|
String |
toString()
Deprecated.
This API is for unit testing only.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchars, codePoints@Deprecated public PlainStringFormattedValue(String value)
value - the string value to store@Deprecated public int length()
length in interface CharSequence@Deprecated public char charAt(int index)
charAt in interface CharSequence@Deprecated public CharSequence subSequence(int start, int end)
subSequence in interface CharSequence@Deprecated public <A extends Appendable> A appendTo(A appendable)
If an IOException occurs when appending to the Appendable, an unchecked
ICUUncheckedIOException is thrown instead.
appendTo in interface FormattedValueappendable - The Appendable to which to append the string output.@Deprecated public boolean nextPosition(ConstrainedFieldPosition cfpos)
ConstrainedFieldPosition cfpos = new ConstrainedFieldPosition();
while (fmtval.nextPosition(cfpos)) {
// handle the field position; get information from cfpos
}
nextPosition in interface FormattedValuecfpos - The object used for iteration state. This can provide constraints to iterate over
only one specific field; see ConstrainedFieldPosition.constrainField(java.text.Format.Field).@Deprecated public AttributedCharacterIterator toCharacterIterator()
Consider using FormattedValue.nextPosition(com.ibm.icu.text.ConstrainedFieldPosition) if you are trying to get field information.
toCharacterIterator in interface FormattedValue@Deprecated public String toString()
FormattedValue.appendTo(A) for greater efficiency.toString in interface FormattedValuetoString in interface CharSequencetoString in class ObjectCopyright © 2016 Unicode, Inc. and others.