| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final char | |
| private static final int | |
| private static final char | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static int | |
| private static char | |
| public static StringBuilder | Returns: StringBuilder string.The source of the string buffer being passed. src, boolean[] The array of boolean case flags. caseFlags)Converts Punycode to Unicode. |
| private static final int | Returns: the numeric value of a basic code point (for use in representing integers) in the range 0 to BASE-1, or a negative value if cp is invalid.
|
| private static char | digitToBasic(int digit, boolean uppercase)
digitToBasic() returns the basic code point whose value (when used for representing integers) is d, which must be in the range 0 to BASE-1. |
| public static StringBuilder | Returns: An array of ASCII code points.The source of the String Buffer passed. src, boolean[] The boolean array of case flags. caseFlags)Converts Unicode to Punycode. |
| private static boolean | |
| private static boolean | |
| private static boolean |
| BASE | back to summary |
|---|---|
| private static final int BASE | |
| CAPITAL_A | back to summary |
|---|---|
| private static final int CAPITAL_A | |
| CAPITAL_Z | back to summary |
|---|---|
| private static final int CAPITAL_Z | |
| DAMP | back to summary |
|---|---|
| private static final int DAMP | |
| DECODE_MAX_CHARS | back to summary |
|---|---|
| private static final int DECODE_MAX_CHARS | |
| DELIMITER | back to summary |
|---|---|
| private static final char DELIMITER | |
| ENCODE_MAX_CODE_UNITS | back to summary |
|---|---|
| private static final int ENCODE_MAX_CODE_UNITS | |
| HYPHEN | back to summary |
|---|---|
| private static final char HYPHEN | |
| INITIAL_BIAS | back to summary |
|---|---|
| private static final int INITIAL_BIAS | |
| INITIAL_N | back to summary |
|---|---|
| private static final int INITIAL_N | |
| SKEW | back to summary |
|---|---|
| private static final int SKEW | |
| SMALL_A | back to summary |
|---|---|
| private static final int SMALL_A | |
| SMALL_Z | back to summary |
|---|---|
| private static final int SMALL_Z | |
| TMAX | back to summary |
|---|---|
| private static final int TMAX | |
| TMIN | back to summary |
|---|---|
| private static final int TMIN | |
| ZERO | back to summary |
|---|---|
| private static final int ZERO | |
| Punycode | back to summary |
|---|---|
| public Punycode() | |
| adaptBias | back to summary |
|---|---|
| private static int adaptBias(int delta, int length, boolean firstTime) | |
| asciiCaseMap | back to summary |
|---|---|
| private static char asciiCaseMap(char b, boolean uppercase) | |
| decode | back to summary |
|---|---|
| public static StringBuilder decode(CharSequence src, boolean[] caseFlags) throws StringPrepParseException Converts Punycode to Unicode. The Unicode string will be at most as long as the Punycode string.
| |
| decodeDigit | back to summary |
|---|---|
private static final int decodeDigit(int cp)
| |
| digitToBasic | back to summary |
|---|---|
| private static char digitToBasic(int digit, boolean uppercase) digitToBasic() returns the basic code point whose value (when used for representing integers) is d, which must be in the range 0 to BASE-1. The lowercase form is used unless the uppercase flag is nonzero, in which case the uppercase form is used. | |
| encode | back to summary |
|---|---|
| public static StringBuilder encode(CharSequence src, boolean[] caseFlags) throws StringPrepParseException 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.
| |
| isBasic | back to summary |
|---|---|
| private static boolean isBasic(int ch) | |
| isBasicUpperCase | back to summary |
|---|---|
| private static boolean isBasicUpperCase(int ch) | |
| isSurrogate | back to summary |
|---|---|
| private static boolean isSurrogate(int ch) | |