public interface CommandOutput extends Callable<CommandOutput>
| Modifier and Type | Method and Description |
|---|---|
CommandOutput |
call()
Reads the standard output from the connected stream.
|
CommandOutput |
clone()
Clones the standard output reader.
|
void |
setInput(InputStream stream)
Sets the stream that is connected to output of the executed command.
|
void setInput(InputStream stream)
stream - the InputStream.CommandOutput clone()
CommandOutput.CommandOutput call() throws Exception
call in interface Callable<CommandOutput>ExceptionCopyright © 2014–2015. All rights reserved.