|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.exec.utils.ExecUtils
public class ExecUtils
Utility class to execute system command.
| Constructor Summary | |
|---|---|
ExecUtils()
|
|
| Method Summary | |
|---|---|
static ExecResponse |
execute(ExecRequest execRequest)
Executes a command and returns the output and error buffer and also the return value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExecUtils()
| Method Detail |
|---|
public static ExecResponse execute(ExecRequest execRequest)
throws ExecException
Executes a command and returns the output and error buffer and also the return value.
execRequest - the exec request.
ExecException - in case of execution failure.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||