public class ProcessWrapper
extends java.lang.Process
Constructor and Description |
---|
ProcessWrapper(java.lang.Process originalProcess) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
int |
exitValue() |
java.io.InputStream |
getErrorStream() |
java.io.InputStream |
getInputStream() |
java.lang.Process |
getOriginalProcess() |
java.io.OutputStream |
getOutputStream() |
int |
waitFor() |
public java.io.OutputStream getOutputStream()
getOutputStream
in class java.lang.Process
public java.io.InputStream getInputStream()
getInputStream
in class java.lang.Process
public java.io.InputStream getErrorStream()
getErrorStream
in class java.lang.Process
public int waitFor() throws java.lang.InterruptedException
waitFor
in class java.lang.Process
java.lang.InterruptedException
public int exitValue()
exitValue
in class java.lang.Process
public void destroy()
destroy
in class java.lang.Process
public java.lang.Process getOriginalProcess()