@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 codepoint into another.
|
translate
hex, translate, translate, with
public UnicodeEscaper()
Constructs a UnicodeEscaper
for all characters.
public static UnicodeEscaper below(int codepoint)
Constructs a UnicodeEscaper
below the specified value (exclusive).
codepoint
- below which to escapeUnicodeEscaper
instancepublic static UnicodeEscaper above(int codepoint)
Constructs a UnicodeEscaper
above the specified value (exclusive).
codepoint
- above which to escapeUnicodeEscaper
instancepublic static UnicodeEscaper outsideOf(int codepointLow, int codepointHigh)
Constructs a UnicodeEscaper
outside of the specified values (exclusive).
codepointLow
- below which to escapecodepointHigh
- above which to escapeUnicodeEscaper
instancepublic static UnicodeEscaper between(int codepointLow, int codepointHigh)
Constructs a 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 CodePointTranslator
codepoint
- int character input to translateout
- Writer to optionally push the translated output tojava.io.IOException
- if and only if the Writer produces an IOException"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"