public enum ReportFormat extends java.lang.Enum<ReportFormat>
| Enum Constant and Description |
|---|
CSV
The Comma Separated Values file format
|
XML
The Extensible Markup Language file format
|
| Modifier and Type | Method and Description |
|---|---|
static ReportFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReportFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReportFormat CSV
public static final ReportFormat XML
public static ReportFormat[] values()
for (ReportFormat c : ReportFormat.values()) System.out.println(c);
public static ReportFormat 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 null