@Deprecated public abstract class CodePointTranslator extends CharSequenceTranslator
Constructor and Description |
---|
CodePointTranslator()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
translate(java.lang.CharSequence input,
int index,
java.io.Writer out)
Deprecated.
Implementation of translate that maps onto the abstract translate(int, Writer) method.
|
abstract boolean |
translate(int codepoint,
java.io.Writer out)
Deprecated.
Translate the specified codepoint into another.
|
hex, translate, translate, with
public final int translate(java.lang.CharSequence input, int index, java.io.Writer out) throws java.io.IOException
translate
in class CharSequenceTranslator
input
- CharSequence that is being translatedindex
- int representing the current point of translationout
- Writer to translate the text tojava.io.IOException
- if and only if the Writer produces an IOExceptionpublic abstract boolean translate(int codepoint, java.io.Writer out) throws java.io.IOException
codepoint
- int character input to translateout
- Writer to optionally push the translated output tojava.io.IOException
- if and only if the Writer produces an IOExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved