public static enum Options.Prefix extends java.lang.Enum<Options.Prefix>
| Enum Constant and Description |
|---|
DASH
Options start with a "-" (typically on Unix platforms)
|
DOUBLEDASH
Options start with a "--" (like GNU-style options on Unix platforms)
|
SLASH
Options start with a "/" (typically on Windows platforms)
|
| Modifier and Type | Method and Description |
|---|---|
static Options.Prefix |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Options.Prefix[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Options.Prefix DASH
public static final Options.Prefix DOUBLEDASH
public static final Options.Prefix SLASH
public static Options.Prefix[] values()
for (Options.Prefix c : Options.Prefix.values()) System.out.println(c);
public static Options.Prefix 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