|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.mmbase.util.Execute
Class for running programs and executing commands. The methods in this class catch and return output from these commands (both info and error messages).
| Constructor Summary | |
Execute()
|
|
| Method Summary | |
java.lang.String |
execute(java.lang.String command)
Executes a command or program. |
java.lang.String |
execute(java.lang.String[] command)
Executes a command or program. |
static void |
main(java.lang.String[] args)
Deprecated. Only for testing. I mean, why bother? |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Execute()
| Method Detail |
public java.lang.String execute(java.lang.String[] command)
command - An array of strings, in which teh first argument is the command to execute,
and the rest its parameterspublic java.lang.String execute(java.lang.String command)
command - the command to executepublic static void main(java.lang.String[] args)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||