@Deprecated public class UnicodeEscaper extends CodePointTranslator
| Constructor and Description |
|---|
UnicodeEscaper()
Deprecated.
Constructs a
UnicodeEscaper for all characters. |
| Modifier and Type | Method and Description |
|---|---|
static UnicodeEscaper |
above(int codePoint)
Deprecated.
Constructs a
UnicodeEscaper above the specified value (exclusive). |
static UnicodeEscaper |
below(int codePoint)
Deprecated.
Constructs a
UnicodeEscaper below the specified value (exclusive). |
static UnicodeEscaper |
between(int codePointLow,
int codePointHigh)
Deprecated.
Constructs a
UnicodeEscaper between the specified values (inclusive). |
static UnicodeEscaper |
outsideOf(int codePointLow,
int codePointHigh)
Deprecated.
Constructs a
UnicodeEscaper outside of the specified values (exclusive). |
boolean |
translate(int codePoint,
java.io.Writer out)
Deprecated.
Translate the specified code point into another.
|
translatehex, translate, translate, withpublic UnicodeEscaper()
UnicodeEscaper for all characters.public static UnicodeEscaper below(int codePoint)
UnicodeEscaper below the specified value (exclusive).codePoint - below which to escapeUnicodeEscaper instancepublic static UnicodeEscaper above(int codePoint)
UnicodeEscaper above the specified value (exclusive).codePoint - above which to escapeUnicodeEscaper instancepublic static UnicodeEscaper outsideOf(int codePointLow, int codePointHigh)
UnicodeEscaper outside of the specified values (exclusive).codePointLow - below which to escapecodePointHigh - above which to escapeUnicodeEscaper instancepublic static UnicodeEscaper between(int codePointLow, int codePointHigh)
UnicodeEscaper between the specified values (inclusive).codePointLow - above which to escapecodePointHigh - below which to escapeUnicodeEscaper instancepublic boolean translate(int codePoint,
java.io.Writer out)
throws java.io.IOException
translate in class CodePointTranslatorcodePoint - 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 - 2023 Adobe. All Rights Reserved