org.riotfamily.common.io
Class RuntimeCommand
java.lang.Object
org.riotfamily.common.io.RuntimeCommand
public class RuntimeCommand
- extends Object
- Since:
- 6.5
- Author:
- Felix Gnass [fgnass at neteye dot de]
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuntimeCommand
public RuntimeCommand(String... commandLine)
setStdOutStream
public RuntimeCommand setStdOutStream(OutputStream stdOut)
setStdErrStream
public RuntimeCommand setStdErrStream(OutputStream stdErr)
exec
public RuntimeCommand exec()
throws IOException
- Throws:
IOException
getStdIn
public OutputStream getStdIn()
getExitCode
public int getExitCode()
getOutput
public String getOutput()
getErrors
public String getErrors()
getResult
public String getResult()
throws IOException
- Throws:
IOException