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
IOExceptionpublic final String translate(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 © 2014. All rights reserved.