|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CommandInterface
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 |
|---|
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).
java.lang.String getHelp()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||