|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a command line as given by the user to start the application.
The commando itself is the first thing entered in the command line. It is followed by options and arguments.
Method Summary | |
java.lang.String |
getCommando()
Returns the commando. |
java.lang.String[] |
getHelpText()
Returns the text of the help document. |
CommandLineParameter |
getParameter(java.lang.String theName)
Returns the command line parameter with the given name. |
boolean |
isValid()
Returns true when the given command line was valid,
false otherwise. |
Method Detail |
public java.lang.String getCommando()
Returns the commando.
null
public java.lang.String[] getHelpText()
Returns the text of the help document. In case of an invalid command line the help text should begin with the command line followed by the mistakes.
null
public CommandLineParameter getParameter(java.lang.String theName)
Returns the command line parameter with the given name.
null
null
theName
- of the command line parameter to get
public boolean isValid()
Returns true
when the given command line was valid,
false
otherwise.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |