public enum TemplateFormat extends java.lang.Enum<TemplateFormat>
This enumeration represents the templates formats.
Enum Constant and Description |
---|
ANSI |
CLASSIC |
DEFAULT |
FORENSIC |
GR001 |
GR002 |
GR003 |
GR006 |
GR007 |
ISO |
Modifier and Type | Method and Description |
---|---|
static TemplateFormat |
fromInteger(int value)
Converts an integer to an enumeration object.
|
int |
value()
Gets the enumaration object value.
|
static TemplateFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TemplateFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TemplateFormat FORENSIC
public static final TemplateFormat DEFAULT
public static final TemplateFormat GR001
public static final TemplateFormat GR002
public static final TemplateFormat GR003
public static final TemplateFormat GR006
public static final TemplateFormat GR007
public static final TemplateFormat CLASSIC
public static final TemplateFormat ISO
public static final TemplateFormat ANSI
public static TemplateFormat[] values()
for (TemplateFormat c : TemplateFormat.values()) System.out.println(c);
public static TemplateFormat 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 TemplateFormat fromInteger(int value)
Converts an integer to an enumeration object.
value
-