Package io.mola.galimatias
Enum URLParser.EncodeSet
- java.lang.Object
-
- java.lang.Enum<URLParser.EncodeSet>
-
- io.mola.galimatias.URLParser.EncodeSet
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<URLParser.EncodeSet>
- Enclosing class:
- URLParser
private static enum URLParser.EncodeSet extends java.lang.Enum<URLParser.EncodeSet>
-
-
Constructor Summary
Constructors Modifier Constructor Description privateEncodeSet()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static URLParser.EncodeSetvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static URLParser.EncodeSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIMPLE
public static final URLParser.EncodeSet SIMPLE
-
DEFAULT
public static final URLParser.EncodeSet DEFAULT
-
PASSWORD
public static final URLParser.EncodeSet PASSWORD
-
USERNAME
public static final URLParser.EncodeSet USERNAME
-
-
Method Detail
-
values
public static URLParser.EncodeSet[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (URLParser.EncodeSet c : URLParser.EncodeSet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static URLParser.EncodeSet valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-