public abstract class CodePointTranslator extends CharSequenceTranslator
| 构造器和说明 |
|---|
CodePointTranslator() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
translate(CharSequence input,
int index,
Writer out)
Implementation of translate that maps onto the abstract translate(int, Writer) method.
|
abstract boolean |
translate(int codepoint,
Writer out)
Translate the specified codepoint into another.
|
hex, translate, translate, withpublic final 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 IOExceptionpublic abstract boolean translate(int codepoint,
Writer out)
throws IOException
codepoint - int character input to translateout - Writer to optionally push the translated output toIOException - if and only if the Writer produces an IOExceptionCopyright © 2022. All rights reserved.