public enum KOptionType extends Enum<KOptionType>
| Enum Constant and Description |
|---|
BOOL |
DATE |
DIR |
DURATION |
FILE |
INT |
NONE |
NOV |
OBJ |
STR |
| Modifier and Type | Method and Description |
|---|---|
static KOptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KOptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KOptionType NONE
public static final KOptionType NOV
public static final KOptionType STR
public static final KOptionType INT
public static final KOptionType BOOL
public static final KOptionType FILE
public static final KOptionType DIR
public static final KOptionType OBJ
public static final KOptionType DATE
public static final KOptionType DURATION
public static KOptionType[] values()
for (KOptionType c : KOptionType.values()) System.out.println(c);
public static KOptionType 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 © 2014–2017 The Apache Software Foundation. All rights reserved.