public enum ClaType extends Enum<ClaType>
ClaType class.
| Enum Constant and Description |
|---|
BOOLEAN |
BYTE |
CALENDAR |
CHAR |
DATE |
DATETIMEFORMATTER |
DEFAULT |
DOUBLE |
ENUM |
EQU |
FILE |
FLOAT |
INTEGER |
LOCALDATE |
LOCALDATETIME |
LOCALTIME |
LONG |
PATTERN |
POJO |
SIMPLEDATEFORMAT |
STRING |
SUBPARSER |
WILDFILE |
| Modifier and Type | Method and Description |
|---|---|
ICmdLineArg<?> |
argumentInstance(char commandPrefix,
char keychar,
String keyword)
argumentInstance.
|
static ClaType |
forField(Field field,
Arg argAnnotation)
forField.
|
Object |
getTypeName()
Getter for the field
typeName. |
static ClaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClaType DEFAULT
public static final ClaType FILE
public static final ClaType WILDFILE
public static final ClaType DOUBLE
public static final ClaType FLOAT
public static final ClaType PATTERN
public static final ClaType DATETIMEFORMATTER
public static final ClaType SIMPLEDATEFORMAT
public static final ClaType DATE
public static final ClaType CALENDAR
public static final ClaType LOCALDATETIME
public static final ClaType LOCALDATE
public static final ClaType LOCALTIME
public static final ClaType LONG
public static final ClaType ENUM
public static final ClaType INTEGER
public static final ClaType STRING
public static final ClaType BYTE
public static final ClaType CHAR
public static final ClaType BOOLEAN
public static final ClaType SUBPARSER
public static final ClaType EQU
public static final ClaType POJO
public static ClaType[] values()
for (ClaType c : ClaType.values()) System.out.println(c);
public static ClaType 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 nullpublic ICmdLineArg<?> argumentInstance(char commandPrefix, char keychar, String keyword) throws ParseException
argumentInstance.
commandPrefix - a char.keychar - a char.keyword - a String object.ICmdLineArg object.ParseException - if any.