com.beust.jcommander
Class ParameterDescription
java.lang.Object
com.beust.jcommander.ParameterDescription
public class ParameterDescription
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParameterDescription
public ParameterDescription(Object object,
Parameter annotation,
Field field,
ResourceBundle bundle,
JCommander jc)
getDescription
public String getDescription()
getObject
public Object getObject()
getNames
public String getNames()
getParameter
public Parameter getParameter()
getField
public Field getField()
addValue
public void addValue(String value)
addValue
public void addValue(String value,
boolean isDefault)
- Add the specified value to the field. First look up any field converter, then
any type converter, and if we can't find any, throw an exception.
- Parameters:
markAdded - if true, mark this parameter as assigned
isNumber
public boolean isNumber()
Copyright © 2010. All Rights Reserved.