|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface implemented by command functions typically added to a command interpreter
CommandInterpreter
Method Summary | |
java.lang.String |
execute(CommandInterpreter ci,
java.lang.String[] args)
Execute the given command. |
java.lang.String |
getHelp()
Returns a one line description of the command |
Method Detail |
public java.lang.String execute(CommandInterpreter ci, java.lang.String[] args)
ci
- the command interpretere that invoked this command.args
- command line arguments (just like main).
public java.lang.String getHelp()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |