Interface PipeCommandInputFactory
- All Known Subinterfaces:
PipeCommandInputService
public interface PipeCommandInputFactory
Factory to create the pipe input.
- Since:
- 1.11
- Author:
- Erwin Mueller, erwin.mueller@deventm.org
-
Method Summary
Modifier and TypeMethodDescriptioncreate(InputStream stream) Creates the pipe input that reads the specified stream to the standard input of the command.fromString(String string) Pipes the string content to the standard input of the command.
-
Method Details
-
create
Creates the pipe input that reads the specified stream to the standard input of the command.- Parameters:
stream- theInputStream.- Returns:
- the
CommandInput.
-
fromString
Pipes the string content to the standard input of the command.- Parameters:
string- theString.- Returns:
- the
CommandInput.
-