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