| Modifier and Type | Field and Description |
|---|---|
| private final List | translators
Translator list. |
| Access | Constructor and Description |
|---|---|
| public | AggregateTranslator(final CharSequenceTranslator...
CharSequenceTranslator array to aggregate. translators)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 writer)
Implements abstract org. The first translator to consume code points from the input is the 'winner'. |
| translators | back to summary |
|---|---|
| private final List<CharSequenceTranslator> translators Translator list. | |
| AggregateTranslator | back to summary |
|---|---|
| public AggregateTranslator(final CharSequenceTranslator... translators) Specify the translators to be used at creation time.
| |
| translate | back to summary |
|---|---|
| public int translate(final CharSequence input, final int index, final Writer writer) 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.
| |