Interface PipeCommandOutput
- All Superinterfaces:
Callable<CommandOutput>,CommandOutput
- All Known Implementing Classes:
PipeCommandOutputImpl
Pipes the read data from the output of the command to a stream.
- Since:
- 3.1
- Author:
- Erwin Mueller, erwin.mueller@deventm.org
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetBufferSize(int size) Sets the buffer size.voidsetPipe(OutputStream stream) Sets the stream that is filled with the piped to the output of the command.Methods inherited from interface com.anrisoftware.globalpom.exec.external.core.CommandOutput
call, clone, setInput
-
Method Details
-
setPipe
Sets the stream that is filled with the piped to the output of the command.- Parameters:
stream- theOutputStream.
-
setBufferSize
void setBufferSize(int size) Sets the buffer size.- Parameters:
size- the size in bytes.
-