public final class Punycode extends Object
| Constructor and Description |
|---|
Punycode() |
| Modifier and Type | Method and Description |
|---|---|
static StringBuilder |
decode(CharSequence src,
boolean[] caseFlags)
Converts Punycode to Unicode.
|
static StringBuilder |
encode(CharSequence src,
boolean[] caseFlags)
Converts Unicode to Punycode.
|
public static StringBuilder encode(CharSequence src, boolean[] caseFlags) throws StringPrepParseException
src - The source of the String Buffer passed.caseFlags - The boolean array of case flags.StringPrepParseExceptionpublic static StringBuilder decode(CharSequence src, boolean[] caseFlags) throws StringPrepParseException
src - The source of the string buffer being passed.caseFlags - The array of boolean case flags.StringPrepParseException