Interface PipeCommandInput
-
- All Superinterfaces:
Callable<CommandInput>,CommandInput
- All Known Implementing Classes:
PipeCommandInputImpl
public interface PipeCommandInput extends CommandInput
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetBufferSize(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 Detail
-
setPipe
void setPipe(InputStream stream)
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.
-
-