public class NumericEntityUnescaper extends CharSequenceTranslator
| 限定符和类型 | 类和说明 |
|---|---|
static class |
NumericEntityUnescaper.OPTION
NumericEntityUnescaper option enum.
|
| 构造器和说明 |
|---|
NumericEntityUnescaper(NumericEntityUnescaper.OPTION... options)
Create a UnicodeUnescaper.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
isSet(NumericEntityUnescaper.OPTION option)
Whether the passed in option is currently set.
|
int |
translate(CharSequence input,
int index,
Writer out)
Translate a set of codepoints, represented by an int index into a CharSequence,
into another set of codepoints.
|
hex, translate, translate, withpublic NumericEntityUnescaper(NumericEntityUnescaper.OPTION... options)
options - to apply to this unescaperpublic boolean isSet(NumericEntityUnescaper.OPTION option)
option - to check state ofpublic 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 IOExceptionCopyright © 2022. All rights reserved.