Enum LinkHandlingUtilities.WhatWgPercentEncoded
java.lang.Object
java.lang.Enum<LinkHandlingUtilities.WhatWgPercentEncoded>
com.ibm.icu.impl.links.LinkHandlingUtilities.WhatWgPercentEncoded
- All Implemented Interfaces:
Serializable, Comparable<LinkHandlingUtilities.WhatWgPercentEncoded>
- Enclosing class:
LinkHandlingUtilities
private static enum LinkHandlingUtilities.WhatWgPercentEncoded
extends Enum<LinkHandlingUtilities.WhatWgPercentEncoded>
Based on https://url.spec.whatwg.org/#percent-encoded-bytes. Is the default for maximal
encoding, but can be customized
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionC0 controls and all code points greater than U+007E (~).userinfo and
U+0024 ($) to U+0026 (invalid input: '&'), inclusive, U+002B (+), and U+002C (,).C0 and U+0020 SPACE, U+0022 ("), U+003C (invalid input: '<'), U+003E (>), andU+0060 (`).query percent-encode set and
U+003F (?), U+005E (^), U+0060 (`), U+007B ({), and U+007D (}).C0 and U+0020 SPACE, U+0022 ("), U+0023 (#), U+003C (invalid input: '<'), and U+003E (>)query percent-encode set and U+0027 (').path and
U+002F (/), U+003A (:), U+003B (;), U+003D (=), U+0040 (@), U+005B ([) to U+005D (]), inclusive, and U+007C (|). -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate -
Method Summary
-
Enum Constant Details
-
C0
C0 controls and all code points greater than U+007E (~). -
FRAGMENT
C0 and U+0020 SPACE, U+0022 ("), U+003C (invalid input: '<'), U+003E (>), andU+0060 (`). -
QUERY
C0 and U+0020 SPACE, U+0022 ("), U+0023 (#), U+003C (invalid input: '<'), and U+003E (>) -
SPECIAL_QUERY
query percent-encode set and U+0027 ('). Used for http://... -
PATH
query percent-encode set and
U+003F (?), U+005E (^), U+0060 (`), U+007B ({), and U+007D (}). -
USERINFO
path and
U+002F (/), U+003A (:), U+003B (;), U+003D (=), U+0040 (@), U+005B ([) to U+005D (]), inclusive, and U+007C (|). -
COMPONENT
userinfo and
U+0024 ($) to U+0026 (invalid input: '&'), inclusive, U+002B (+), and U+002C (,).
-
-
Field Details
-
set
-
-
Constructor Details
-
WhatWgPercentEncoded
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getSet
-