|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a parameter given in the command line. This parameter may be an option or an argument.
Method Summary | |
java.lang.String |
getValue()
Returns the parameters value as a String. |
boolean |
isSet()
Returns true when this parameter was set in the command
line, false otherwise. |
Method Detail |
public java.lang.String getValue()
Returns the parameters value as a String. Unary options may return "true" or "false". Unary options should better be asked if set.
public boolean isSet()
Returns true
when this parameter was set in the command
line, false
otherwise. Unary options are used this way.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |