| 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 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 | |
| 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 StringBuffer | |
| private static final int | decodeDigit(int cp)
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 StringBuffer | |
| 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 int DELIMITER | |
| ENCODE_MAX_CODE_UNITS | back to summary |
|---|---|
| private static final int ENCODE_MAX_CODE_UNITS | |
| HYPHEN | back to summary |
|---|---|
| private static final int HYPHEN | |
| INITIAL_BIAS | back to summary |
|---|---|
| private static final int INITIAL_BIAS | |
| INITIAL_N | back to summary |
|---|---|
| private static final int INITIAL_N | |
| MAX_CP_COUNT | back to summary |
|---|---|
| private static final int MAX_CP_COUNT | |
| NINE | back to summary |
|---|---|
| private static final int NINE | |
| 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 StringBuffer decode(StringBuffer src, boolean[] caseFlags) throws ParseException 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 StringBuffer encode(StringBuffer src, boolean[] caseFlags) throws ParseException 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) | |