|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum
ml.options.Options.Prefix
public static enum Options.Prefix
An enum encapsulating the possible prefixes identifying options (and separating them from command line data items)
Enum Constant Summary | |
---|---|
DASH
Options start with a "-" (typically on Unix platforms) |
|
SLASH
Options start with a "/" (typically on Windows platforms) |
Method Summary | |
---|---|
static Options.Prefix |
valueOf(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're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Options.Prefix DASH
public static final Options.Prefix SLASH
Method Detail |
---|
public static final Options.Prefix[] values()
for(Options.Prefix c : Options.Prefix.values()) System.out.println(c);
public static Options.Prefix valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |