| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private static final char[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getAndReset()
Overrides com. Implements com. DefaultCharAppender#appendIgnoringWhitespace(char), DefaultCharAppender#appendIgnoringPadding(char, char) or DefaultCharAppender#appendIgnoringWhitespaceAndPadding(char, char)
The internal accumulated value is discarded after invoking this method (as in If the accumulated value is empty (i.e. no characters were appended, or all appended characters where ignored as whitespace or padding), then the return value will be |
| public char[] | getCharsAndReset()
Overrides com. Implements com. DefaultCharAppender#appendIgnoringWhitespace(char), DefaultCharAppender#appendIgnoringPadding(char, char) or DefaultCharAppender#appendIgnoringWhitespaceAndPadding(char, char)
The internal accumulated value is discarded after invoking this method (as in If the accumulated value is empty (i.e. no characters were appended, or all appended characters where ignored as whitespace or padding), then the return value will be character sequence of the |
| public char[] | |
| public String | |
| public void | reset()
Overrides com. Implements com. |
| defaultLength | back to summary |
|---|---|
| private int defaultLength | |
| EMPTY_CHAR_ARRAY | back to summary |
|---|---|
| private static final char[] EMPTY_CHAR_ARRAY | |
| ElasticCharAppender | back to summary |
|---|---|
| public ElasticCharAppender(String emptyValue) | |
| ElasticCharAppender | back to summary |
|---|---|
| public ElasticCharAppender(int defaultLength, String emptyValue) | |
| getAndReset | back to summary |
|---|---|
| public String getAndReset() Overrides com. Implements com. Doc from com. Returns the accumulated value as a String, discarding any trailing whitespace characters identified when using The internal accumulated value is discarded after invoking this method (as in If the accumulated value is empty (i.e. no characters were appended, or all appended characters where ignored as whitespace or padding), then the return value will be
| |
| getCharsAndReset | back to summary |
|---|---|
| public char[] getCharsAndReset() Overrides com. Implements com. Doc from com. Returns the accumulated characters, discarding any trailing whitespace characters identified when using The internal accumulated value is discarded after invoking this method (as in If the accumulated value is empty (i.e. no characters were appended, or all appended characters where ignored as whitespace or padding), then the return value will be character sequence of the
| |
| getTrimmedCharsAndReset | back to summary |
|---|---|
| public char[] getTrimmedCharsAndReset() | |
| getTrimmedStringAndReset | back to summary |
|---|---|
| public String getTrimmedStringAndReset() | |
| reset | back to summary |
|---|---|
| public void reset() Overrides com. Implements com. Doc from com. Clears the accumulated value and the whitespace count.
| |