| Package | Description |
|---|---|
| org.codehaus.plexus.util.cli |
| Modifier and Type | Class | Description |
|---|---|---|
static class |
CommandLineUtils.StringStreamConsumer |
A
StreamConsumer providing consumed lines as a String. |
class |
DefaultConsumer |
|
class |
WriterStreamConsumer |
| Modifier and Type | Method | Description |
|---|---|---|
static int |
CommandLineUtils.executeCommandLine(Commandline cl,
java.io.InputStream systemIn,
StreamConsumer systemOut,
StreamConsumer systemErr) |
|
static int |
CommandLineUtils.executeCommandLine(Commandline cl,
java.io.InputStream systemIn,
StreamConsumer systemOut,
StreamConsumer systemErr,
int timeoutInSeconds) |
|
static int |
CommandLineUtils.executeCommandLine(Commandline cl,
StreamConsumer systemOut,
StreamConsumer systemErr) |
|
static int |
CommandLineUtils.executeCommandLine(Commandline cl,
StreamConsumer systemOut,
StreamConsumer systemErr,
int timeoutInSeconds) |
|
static CommandLineCallable |
CommandLineUtils.executeCommandLineAsCallable(Commandline cl,
java.io.InputStream systemIn,
StreamConsumer systemOut,
StreamConsumer systemErr,
int timeoutInSeconds) |
Immediately forks a process, returns a callable that will block until process is complete.
|
| Constructor | Description |
|---|---|
StreamPumper(java.io.InputStream in,
java.io.PrintWriter writer,
StreamConsumer consumer) |
|
StreamPumper(java.io.InputStream in,
StreamConsumer consumer) |