Package | Description |
---|---|
org.codehaus.plexus.util.cli |
Modifier and Type | Class and Description |
---|---|
static class |
CommandLineUtils.StringStreamConsumer
A
StreamConsumer providing consumed lines as a String . |
class |
DefaultConsumer |
class |
WriterStreamConsumer |
Modifier and Type | Method and Description |
---|---|
static int |
CommandLineUtils.executeCommandLine(Commandline cl,
InputStream systemIn,
StreamConsumer systemOut,
StreamConsumer systemErr) |
static int |
CommandLineUtils.executeCommandLine(Commandline cl,
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,
InputStream systemIn,
StreamConsumer systemOut,
StreamConsumer systemErr,
int timeoutInSeconds)
Immediately forks a process, returns a callable that will block until process is complete.
|
Constructor and Description |
---|
StreamPumper(InputStream in,
PrintWriter writer,
StreamConsumer consumer) |
StreamPumper(InputStream in,
StreamConsumer consumer) |
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.