public static enum URIEncoder.Mode extends java.lang.Enum<URIEncoder.Mode>
Enum Constant and Description |
---|
COMPONENT
In "component" mode, only the unreserved characters are left unescaped.
|
FULL_URI
In "full" mode, all unreserved and reserved characters are left unescaped.
|
Modifier and Type | Field and Description |
---|---|
(package private) long |
_highMask
The high bit-mask--copied into the _highMask of the encoder.
|
(package private) long |
_lowMask
The low bit-mask--copied into the _lowMask of the encoder.
|
Modifier and Type | Method and Description |
---|---|
(package private) long |
highMask()
Accessor for the high bit-mask.
|
(package private) long |
lowMask()
Accessor for the low bit-mask.
|
static URIEncoder.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static URIEncoder.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final URIEncoder.Mode COMPONENT
public static final URIEncoder.Mode FULL_URI
final long _lowMask
final long _highMask
public static URIEncoder.Mode[] values()
for (URIEncoder.Mode c : URIEncoder.Mode.values()) System.out.println(c);
public static URIEncoder.Mode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nulllong lowMask()
long highMask()