private static class StringEscapeUtils.UnicodeUnescaper extends StringEscapeUtils.CharSequenceTranslator
Translates escaped Unicode values of the form \\u+\d\d\d\d back to Unicode. It supports multiple 'u' characters and will work with or without the +.
| Modifier | Constructor and Description |
|---|---|
private |
UnicodeUnescaper() |
| Modifier and Type | Method and Description |
|---|---|
int |
translate(java.lang.CharSequence input,
int index,
java.io.Writer out)
Translate a set of codepoints, represented by an int index into a CharSequence,
into another set of codepoints.
|
translate, translate, withpublic int translate(java.lang.CharSequence input,
int index,
java.io.Writer out)
throws java.io.IOException
translate in class StringEscapeUtils.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 IOException