java.lang.Object
net.anwiba.commons.thread.program.ProgramLauncher
- All Implemented Interfaces:
IProgramLauncher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionerrorStreamConsumer(IConsumer<InputStream, IOException> errorStreamConsumer) inputStreamConsumer(IConsumer<InputStream, IOException> inputStreamConsumer) launch()waitFor()waitNot()
-
Constructor Details
-
ProgramLauncher
public ProgramLauncher()
-
-
Method Details
-
waitNot
- Specified by:
waitNotin interfaceIProgramLauncher
-
waitFor
- Specified by:
waitForin interfaceIProgramLauncher
-
streamToLogger
- Specified by:
streamToLoggerin interfaceIProgramLauncher
-
command
- Specified by:
commandin interfaceIProgramLauncher
-
argument
- Specified by:
argumentin interfaceIProgramLauncher
-
errorStreamConsumer
- Specified by:
errorStreamConsumerin interfaceIProgramLauncher
-
inputStreamConsumer
- Specified by:
inputStreamConsumerin interfaceIProgramLauncher
-
launch
- Specified by:
launchin interfaceIProgramLauncher- Throws:
IOExceptionCanceledException
-
launch
- Specified by:
launchin interfaceIProgramLauncher- Throws:
IOExceptionCanceledException
-