public class AggregateTranslator extends CharSequenceTranslator
| 构造器和说明 |
|---|
AggregateTranslator(CharSequenceTranslator... translators)
Specify the translators to be used at creation time.
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
translate(CharSequence input,
int index,
Writer out)
The first translator to consume codepoints from the input is the 'winner'.
|
hex, translate, translate, withpublic AggregateTranslator(CharSequenceTranslator... translators)
translators - CharSequenceTranslator array to aggregatepublic int translate(CharSequence input, int index, Writer out) throws IOException
translate 在类中 CharSequenceTranslatorinput - CharSequence that is being translatedindex - int representing the current point of translationout - Writer to translate the text toIOException - if and only if the Writer produces an IOExceptionCopyright © 2022. All rights reserved.