|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Base command-line argument command object.
This is the equivalent of the Command Interface of the Command Pattern.
| Method Summary | |
int |
consumeArgument(java.lang.String[] args,
int offset)
This method will attempt to consume the current command-line argument. |
| Method Detail |
public int consumeArgument(java.lang.String[] args,
int offset)
throws InvalidArgumentException
This is the equivalent of the execute method of the Command Interface
of the Command Pattern.
args - the command line argument array.offset - the offset in to the command line argument array where the argument exists.
InvalidArgumentException - thrown if the argument was not supplied all of its required options.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||