org.codehaus.plexus.util.cli
Class CommandLineUtils

java.lang.Object
  extended byorg.codehaus.plexus.util.cli.CommandLineUtils

public abstract class CommandLineUtils
extends java.lang.Object

Version:
$Id: CommandLineUtils.java 1298 2004-11-09 13:45:21Z trygvis $
Author:
Trygve Laugstøl

Nested Class Summary
static class CommandLineUtils.StringStreamConsumer
           
 
Constructor Summary
CommandLineUtils()
           
 
Method Summary
static int executeCommandLine(Commandline cl, java.io.InputStream systemIn, StreamConsumer systemOut, StreamConsumer systemErr)
           
static int executeCommandLine(Commandline cl, StreamConsumer systemOut, StreamConsumer systemErr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLineUtils

public CommandLineUtils()
Method Detail

executeCommandLine

public static int executeCommandLine(Commandline cl,
                                     StreamConsumer systemOut,
                                     StreamConsumer systemErr)
                              throws CommandLineException
Throws:
CommandLineException

executeCommandLine

public static int executeCommandLine(Commandline cl,
                                     java.io.InputStream systemIn,
                                     StreamConsumer systemOut,
                                     StreamConsumer systemErr)
                              throws CommandLineException
Throws:
CommandLineException