public class ProgramLauncher extends Object implements IProgramLauncher
| Constructor and Description |
|---|
ProgramLauncher() |
| Modifier and Type | Method and Description |
|---|---|
IProgramLauncher |
argument(String argument) |
IProgramLauncher |
command(String command) |
IProgramLauncher |
errorStreamConsumer(IConsumer<InputStream,IOException> errorStreamConsumer) |
IProgramLauncher |
inputStreamConsumer(IConsumer<InputStream,IOException> inputStreamConsumer) |
Process |
launch() |
Process |
launch(ICanceler canceler) |
IProgramLauncher |
streamToLogger() |
IProgramLauncher |
waitFor() |
IProgramLauncher |
waitNot() |
public IProgramLauncher waitNot()
waitNot in interface IProgramLauncherpublic IProgramLauncher waitFor()
waitFor in interface IProgramLauncherpublic IProgramLauncher streamToLogger()
streamToLogger in interface IProgramLauncherpublic IProgramLauncher command(String command)
command in interface IProgramLauncherpublic IProgramLauncher argument(String argument)
argument in interface IProgramLauncherpublic IProgramLauncher errorStreamConsumer(IConsumer<InputStream,IOException> errorStreamConsumer)
errorStreamConsumer in interface IProgramLauncherpublic IProgramLauncher inputStreamConsumer(IConsumer<InputStream,IOException> inputStreamConsumer)
inputStreamConsumer in interface IProgramLauncherpublic Process launch() throws IOException, CanceledException
launch in interface IProgramLauncherIOExceptionCanceledExceptionpublic Process launch(ICanceler canceler) throws IOException, CanceledException
launch in interface IProgramLauncherIOExceptionCanceledExceptionCopyright © 2007–2019 Andreas W. Bartels. All rights reserved.