public final class ProcessPipe extends Process
| Constructor and Description |
|---|
ProcessPipe(List<? extends Process> processes) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
int |
exitValue() |
InputStream |
getErrorStream()
Error stream combination of all process error streams
|
InputStream |
getInputStream()
Input stream of the last process in the pipe
|
OutputStream |
getOutputStream()
Output stream of the first process in the pipe
|
int |
waitFor() |
int |
waitFor(long time,
TimeUnit unit) |
public OutputStream getOutputStream()
getOutputStream in class Processpublic InputStream getInputStream()
getInputStream in class Processpublic InputStream getErrorStream()
getErrorStream in class Processpublic int waitFor()
throws InterruptedException
waitFor in class ProcessInterruptedExceptionpublic int waitFor(long time,
TimeUnit unit)
throws InterruptedException,
TimeoutException
InterruptedExceptionTimeoutExceptionpublic int exitValue()
throws IllegalThreadStateException
exitValue in class ProcessIllegalThreadStateExceptionCopyright © 2011 Ovea. All Rights Reserved.