|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.adougou.cline.BaseCommand
|
+--org.adougou.cline.URLCommand
|
+--org.adougou.cline.RunScriptCommand
This command reads in a text file (or URL) containing a list of commands. It is basically a utility for batch executions. Each line of the file should contain a command to be executed. Comment lines can be inserted by placing a '#' at the start of the line. By convention, I name all my scripts with a .scr ending (good old ms-dos syntax).
| Fields inherited from class org.adougou.cline.BaseCommand |
help_, name_, numArgs_, prompt, register_ |
| Method Summary | |
void |
execute(java.lang.String[] args)
This method should be overloaded by each command that is defined - it will be called by the CommandRegister after the number of arguments have been checked. |
| Methods inherited from class org.adougou.cline.URLCommand |
getBufferedReader, getURLs |
| Methods inherited from class org.adougou.cline.BaseCommand |
checkPermission, execute, execute, getHelp, getName, getPrompt, set |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public void execute(java.lang.String[] args)
BaseCommandexecute in class BaseCommand
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||