Package com.damnhandy.uri.template
Enum UriTemplate.Encoding
- java.lang.Object
-
- java.lang.Enum<UriTemplate.Encoding>
-
- com.damnhandy.uri.template.UriTemplate.Encoding
-
- All Implemented Interfaces:
Serializable
,Comparable<UriTemplate.Encoding>
- Enclosing class:
- UriTemplate
public static enum UriTemplate.Encoding extends Enum<UriTemplate.Encoding>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UriTemplate.Encoding
valueOf(String name)
Returns the enum constant of this type with the specified name.static UriTemplate.Encoding[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
U
public static final UriTemplate.Encoding U
-
UR
public static final UriTemplate.Encoding UR
-
-
Method Detail
-
values
public static UriTemplate.Encoding[] 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 (UriTemplate.Encoding c : UriTemplate.Encoding.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UriTemplate.Encoding valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-