public class PipeRunnable extends ErrorHandlingRunnable
| Constructor and Description |
|---|
PipeRunnable(InputStream in,
OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeIn() |
protected void |
doRun() |
void |
interrupt() |
boolean |
isRunning() |
void |
waitForStart(long timeoutMillis) |
void |
waitForStop(long timeoutMillis) |
getError, runpublic PipeRunnable(InputStream in, OutputStream out)
protected void doRun()
throws IOException
doRun in class ErrorHandlingRunnableIOExceptionpublic boolean isRunning()
public void waitForStart(long timeoutMillis)
throws CmdException
CmdExceptionpublic void waitForStop(long timeoutMillis)
throws CmdException,
InterruptedException
CmdExceptionInterruptedExceptionpublic void interrupt()
public void closeIn()
throws IOException
IOExceptionCopyright © 2013–2019 mklinger GmbH. All rights reserved.