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