Interface PipeCommandInput
- All Superinterfaces:
Callable<CommandInput>,CommandInput
- All Known Implementing Classes:
PipeCommandInputImpl
Pipes the read data from one stream to the standard input of the command.
- Since:
- 3.1
- Author:
- Erwin Mueller, erwin.mueller@deventm.org
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetBufferSize(int size) Sets the buffer size.voidsetPipe(InputStream stream) Sets the stream that is read and piped to the standard input of the command.Methods inherited from interface com.anrisoftware.globalpom.exec.external.core.CommandInput
call, clone, setOutput
-
Method Details
-
setPipe
Sets the stream that is read and piped to the standard input of the command.- Parameters:
stream- theInputStream.
-
setBufferSize
void setBufferSize(int size) Sets the buffer size.- Parameters:
size- the size in bytes.
-