public enum TemplateEncoding extends java.lang.Enum<TemplateEncoding>
This enumeration represents the template encoding.
Modifier and Type | Method and Description |
---|---|
static TemplateEncoding |
fromInteger(int value)
Converts an integer to an enumeration object.
|
int |
value()
Gets the enumaration object value.
|
static TemplateEncoding |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TemplateEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TemplateEncoding BASE64
public static final TemplateEncoding ASCII
public static TemplateEncoding[] values()
for (TemplateEncoding c : TemplateEncoding.values()) System.out.println(c);
public static TemplateEncoding 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 nullpublic int value()
Gets the enumaration object value.
public static TemplateEncoding fromInteger(int value)
Converts an integer to an enumeration object.
value
-