|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--wtanaka.praya.console.AbstractCommand
AbstractCommand
Return to
or the Praya Homepage
| Constructor Summary | |
AbstractCommand()
|
|
| Method Summary | |
java.lang.String |
execute(java.lang.String args)
Converts this into a call to execute(String[]) |
abstract java.lang.String |
execute(java.lang.String[] args)
Runs a protocol-specific command. |
| Methods inherited from class java.lang.Object |
|
| Methods inherited from interface wtanaka.praya.console.CommandInterface |
help |
| Constructor Detail |
public AbstractCommand()
| Method Detail |
public abstract java.lang.String execute(java.lang.String[] args)
throws CommandFailedException,
NotSupportedException
args - a non-null, non-zero list of arguments to pass to
this command. The first element in the array is the command
that was called.CommandFailedException - if this handles the given
command, and the command was attempted and it failed.NotSupportedException - if this does not handle the
given command, so nothing was attempted.
public java.lang.String execute(java.lang.String args)
throws CommandFailedException,
NotSupportedException
execute in interface CommandInterfaceCommandInterface.execute(String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||