public abstract class SinglePassTranslator extends CharSequenceTranslator
| 构造器和说明 |
|---|
SinglePassTranslator() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
translate(CharSequence input,
int index,
Writer out)
Translate a set of codepoints, represented by an int index into a CharSequence,
into another set of codepoints.
|
abstract void |
translateWhole(CharSequence input,
Writer out)
Translate whole set of code points passed in input.
|
hex, translate, translate, withpublic int translate(CharSequence input, int index, Writer out) throws IOException
CharSequenceTranslatortranslate 在类中 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 IOExceptionpublic abstract void translateWhole(CharSequence input, Writer out) throws IOException
input - CharSequence that is being translatedout - Writer to translate the text toIOException - if and only if the Writer produces an IOExceptionCopyright © 2022. All rights reserved.