public static enum CommandLineOptions.OutputFormat extends Enum<CommandLineOptions.OutputFormat>
Modifier and Type | Method and Description |
---|---|
static CommandLineOptions.OutputFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandLineOptions.OutputFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandLineOptions.OutputFormat PLAINTEXT
public static final CommandLineOptions.OutputFormat JSON
public static final CommandLineOptions.OutputFormat XML
public static CommandLineOptions.OutputFormat[] values()
for (CommandLineOptions.OutputFormat c : CommandLineOptions.OutputFormat.values()) System.out.println(c);
public static CommandLineOptions.OutputFormat 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 null