public abstract class CharSequenceTranslator extends Object
| Constructor and Description |
|---|
CharSequenceTranslator() |
| Modifier and Type | Method and Description |
|---|---|
static String |
hex(int codepoint)
Returns an upper case hexadecimal
String for the given
character. |
String |
translate(CharSequence input) |
abstract int |
translate(CharSequence input,
int index,
Writer out) |
void |
translate(CharSequence input,
Writer out) |
public abstract int translate(CharSequence input, int index, Writer out) throws IOException
IOException@Nullable public final String translate(@Nullable CharSequence input)
public final void translate(CharSequence input, Writer out) throws IOException
IOExceptionpublic static String hex(int codepoint)
Returns an upper case hexadecimal String for the given
character.
codepoint - The codepoint to convert.StringCopyright © 2018 SPF4J. All rights reserved.