uk.ac.ncl.cs.instantsoap.commandlineprocessor.commandLine
Class CommandLines

java.lang.Object
  extended by uk.ac.ncl.cs.instantsoap.commandlineprocessor.commandLine.CommandLines

public final class CommandLines
extends Object

Static utility methods for working with command-lines.

Author:
Matthew Pocock

Method Summary
static
<Value> CommandLine<Value>
commandLine(String workingDirectory, String executable, Argument<Value>... arguments)
           
static
<Value> CommandLine<Value>
commandLine(String workingDirectory, String executable, List<Argument<Value>> arguments)
           
static
<Value> Option<Value>
option(String letter)
           
static
<Value> Option<Value>
option(String letter, String name, List<Value> values)
           
static
<Value> Option<Value>
option(String letter, String name, Value... values)
           
static
<Value> Parameter<Value>
parameter(Value value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

commandLine

public static <Value> CommandLine<Value> commandLine(String workingDirectory,
                                                     String executable,
                                                     List<Argument<Value>> arguments)

commandLine

public static <Value> CommandLine<Value> commandLine(String workingDirectory,
                                                     String executable,
                                                     Argument<Value>... arguments)

option

public static <Value> Option<Value> option(String letter,
                                           String name,
                                           List<Value> values)

option

public static <Value> Option<Value> option(String letter,
                                           String name,
                                           Value... values)

option

public static <Value> Option<Value> option(String letter)

parameter

public static <Value> Parameter<Value> parameter(Value value)


Copyright © 2006-2008. All Rights Reserved.