Deprecated
This API is for unit testing only.
| Access | Constructor and Description |
|---|---|
| public | PlainStringFormattedValue(String
the string value to store value)
Deprecated
This API is for unit testing only.
Constructor, taking the string to store.
|
| 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 unit testing only.
Appends the formatted string to an Appendable.
|
| public char | charAt(int
the index of the index)char value to be returnedImplements java.
Deprecated
This API is for unit testing only.
Returns the char value at the specified index.
|
| public int | length()
Implements java.
Deprecated
This API is for unit testing only.
Returns the length of this character sequence.
|
| 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 unit testing 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 unit testing only.
Returns a CharSequence that is a subsequence of this sequence.
|
| public AttributedCharacterIterator | toCharacterIterator()
Implements com.
Deprecated
This API is for unit testing only.
Not yet implemented.
|
| public String | toString()
Overrides java. Implements com.
Deprecated
This API is for unit testing only.
Returns the formatted string as a Java String.
|
| value | back to summary |
|---|---|
| private final String value | |
| PlainStringFormattedValue | back to summary |
|---|---|
| public PlainStringFormattedValue(String value)
Deprecated This API is for unit testing only. Constructor, taking the string to store. | |
| appendTo | back to summary |
|---|---|
| public <A extends Appendable> A appendTo(A appendable) Implements com. Doc from com. Deprecated This API is for unit testing only. 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 unit testing only. Returns the If the
| |
| length | back to summary |
|---|---|
| public int length() Implements java. Doc from java. Deprecated This API is for unit testing only. 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 unit testing 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 unit testing only. Returns a
| |
| toCharacterIterator | back to summary |
|---|---|
| public AttributedCharacterIterator toCharacterIterator() Implements com. Doc from com. Deprecated This API is for unit testing only. Not yet implemented. Exports the formatted number as an AttributedCharacterIterator.
Consider using
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Implements com. Doc from com. Deprecated This API is for unit testing only. Returns the formatted string as a Java String.
Consider using | |