NumericEntityEscaper, UnicodeEscaper, UnicodeUnpairedSurrogateRemoverpublic abstract class CodePointTranslator extends CharSequenceTranslator
| Constructor | Description |
|---|---|
CodePointTranslator() |
| Modifier and Type | Method | Description |
|---|---|---|
abstract boolean |
translate(int codepoint,
java.io.Writer out) |
Translate the specified codepoint into another.
|
int |
translate(java.lang.CharSequence input,
int index,
java.io.Writer out) |
Implementation of translate that maps onto the abstract translate(int, Writer) method.
|
hex, translate, translate, withpublic final int translate(java.lang.CharSequence input,
int index,
java.io.Writer out)
throws java.io.IOException
translate in class CharSequenceTranslatorinput - 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 © 2001-2017 - Apache Software Foundation