public enum ReportFormatter extends Enum<ReportFormatter>
Enum Constant and Description |
---|
HTML
HTML-based reports.
|
TXT
Text-based reports.
|
Modifier and Type | Method and Description |
---|---|
static ReportFormatter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReportFormatter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReportFormatter TXT
public static final ReportFormatter HTML
public static ReportFormatter[] values()
for (ReportFormatter c : ReportFormatter.values()) System.out.println(c);
public static ReportFormatter valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2010–2019 GZoltar. All rights reserved.