Deprecated
As of 3.6, use Apache Commons Text AggregateTranslator.
| Modifier and Type | Field and Description |
|---|---|
| private final CharSequenceTranslator[] | translators
References Deprecated
CharSequenceTranslator is deprecated or references (maybe indirectly) at least one deprecated element.
|
| Access | Constructor and Description |
|---|---|
| public | AggregateTranslator(final CharSequenceTranslator...
CharSequenceTranslator array to aggregate translators)
References Deprecated
CharSequenceTranslator is deprecated or references (maybe indirectly) at least one deprecated element.
Specify the translators to be used at creation time. |
| Modifier and Type | Method and Description |
|---|---|
| public int | translate(final CharSequence input, final int index, final Writer out)
Implements abstract org. The first translator to consume code points from the input is the 'winner'. |
| translators | back to summary |
|---|---|
| private final CharSequenceTranslator[] translators
References Deprecated
See corresponding docs for further information. | |
| AggregateTranslator | back to summary |
|---|---|
| public AggregateTranslator(final CharSequenceTranslator... translators)
References Deprecated
See corresponding docs for further information. Specify the translators to be used at creation time.
| |
| translate | back to summary |
|---|---|
| public int translate(final CharSequence input, final int index, final Writer out) throws IOException Implements abstract org. Doc from org. The first translator to consume code points from the input is the 'winner'. Execution stops with the number of consumed code points being returned. Translate a set of code points, represented by an int index into a CharSequence, into another set of code points. The number of code points consumed must be returned, and the only IOExceptions thrown must be from interacting with the Writer so that the top level API may reliably ignore StringWriter IOExceptions.
| |