|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of CmdLineException in jcmdline |
---|
Methods in jcmdline that throw CmdLineException | |
---|---|
void |
AbstractParameter.addStringValue(java.lang.String value)
Add a value to this Parameter. |
void |
Parameter.addStringValue(java.lang.String value)
Adds the value, specified as a String. |
void |
BooleanParam.addValue(java.lang.Boolean value)
Replaces any current value with that specified. |
void |
AbstractParameter.addValue(T value)
|
void |
Parameter.addValue(T value)
Adds the specified Object as a value for this entity - the Object will be validated with respect to the constraints of the Parameter. |
java.util.Date |
DateTimeParam.convertValue(java.lang.String val)
Converts a String value to its Date equivalent, filling in default seconds and milliseconds as necessary. |
abstract T |
AbstractParameter.convertValue(java.lang.String strVal)
Converts a String value to the type associated with the Parameter. |
java.lang.String |
StringParam.convertValue(java.lang.String strVal)
|
java.io.File |
FileParam.convertValue(java.lang.String strVal)
|
java.lang.Integer |
IntParam.convertValue(java.lang.String strVal)
|
java.lang.Boolean |
BooleanParam.convertValue(java.lang.String strVal)
|
java.util.Date |
TimeParam.convertValue(java.lang.String strVal)
|
java.util.Date |
DateParam.convertValue(java.lang.String val)
|
void |
PosixCmdLineParser.parse(java.lang.String[] clargs,
java.util.Map<java.lang.String,Parameter<?>> opts,
java.util.List<Parameter<?>> args)
Parse the specified command line arguments. |
void |
CmdLineParser.parse(java.lang.String[] clargs,
java.util.Map<java.lang.String,Parameter<?>> opts,
java.util.List<Parameter<?>> args)
Parses the passed command line arguments into sets of options and arguments. |
void |
AbstractParameter.setValue(T value)
|
void |
Parameter.setValue(T value)
Sets the value of the parameter to the specified string. |
void |
AbstractParameter.setValues(java.util.List<T> values)
|
void |
Parameter.setValues(java.util.List<T> values)
Sets the values of the parameter to those specified. |
void |
AbstractParameter.setValues(T[] values)
|
void |
Parameter.setValues(T[] values)
Sets the values of the parameter to those specified. |
void |
TimeParam.validateValue(java.util.Date val)
|
void |
FileParam.validateValue(java.io.File f)
Validates a prospective value for the FileParam - called by add/setValue(s)(). |
void |
IntParam.validateValue(java.lang.Integer val)
Validates a prospective value with regards to the minimum and maximum values and the acceptableValues called by add/setValue(s)(). |
void |
StringParam.validateValue(java.lang.String val)
Validates a prospective value with regards to the minimum and maximum values and the acceptableValues - called by add/setValue(s)(). |
void |
AbstractParameter.validateValue(T value)
This implementation compares the value to the acceptable values if any have been defined. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |