|
||||||||
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.Separator
public static enum Options.Separator
An enum encapsulating the possible separators between value options and their actual values.
Enum Constant Summary | |
---|---|
BLANK
Separate option and value by blank space |
|
COLON
Separate option and value by ":" |
|
EQUALS
Separate option and value by "=" |
|
NONE
This is just a placeholder in case no separator is required (i. |
Method Summary | |
---|---|
static Options.Separator |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Options.Separator[] |
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.Separator COLON
public static final Options.Separator EQUALS
public static final Options.Separator BLANK
public static final Options.Separator NONE
Method Detail |
---|
public static final Options.Separator[] values()
for(Options.Separator c : Options.Separator.values()) System.out.println(c);
public static Options.Separator 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 |