@Deprecated public abstract class CodePointTranslator extends CharSequenceTranslator
| Constructor and Description |
|---|
CodePointTranslator()
Deprecated.
Constructs a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
translate(CharSequence input,
int index,
Writer out)
Deprecated.
Implements translate to map onto the abstract translate(int, Writer) method.
|
abstract boolean |
translate(int codePoint,
Writer out)
Deprecated.
Translate the specified code point into another.
|
hex, translate, translate, withpublic CodePointTranslator()
public final int translate(CharSequence input, int index, Writer out) throws IOException
translate in class 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 © 2001–2025 The Apache Software Foundation. All rights reserved.