| java.lang.Object com.ibm.icu.text.Punycode
Punycode | final class Punycode (Code) | | Ported code from ICU punycode.c
author: ram |
Field Summary | |
final static int[] | basicToDigit basicToDigit[] contains the numeric value of a basic code
point (for use in representing integers) in the range 0 to
BASE-1, or -1 if b is does not represent a value. |
basicToDigit | final static int[] basicToDigit(Code) | | basicToDigit[] contains the numeric value of a basic code
point (for use in representing integers) in the range 0 to
BASE-1, or -1 if b is does not represent a value.
|
decode | public static StringBuffer decode(StringBuffer src, boolean[] caseFlags) throws StringPrepParseException(Code) | | Converts Punycode to Unicode.
The Unicode string will be at most as long as the Punycode string.
Parameters: src - Parameters: caseFlags - throws: ParseException - |
encode | public static StringBuffer encode(StringBuffer src, boolean[] caseFlags) throws StringPrepParseException(Code) | | Converts Unicode to Punycode.
The input string must not contain single, unpaired surrogates.
The output will be represented as an array of ASCII code points.
Parameters: src - Parameters: caseFlags - throws: ParseException - |
|
|