Package uk.ac.ncl.cs.instantsoap.commandlineprocessor.commandLine

Data-structures for representing command-lines.

See:
          Description

Interface Summary
Argument.ArgumentVisitor<Value> Visitor interface so that you can avoid instanceof checks.
 

Class Summary
Argument<Value> A command-line argument - either an Option or a Parameter.
CommandLine<Value> The data needed to construct a command-line.
CommandLines Static utility methods for working with command-lines.
Option<Value> Command-line option.
Parameter<Value> A command-line parameter.
 

Package uk.ac.ncl.cs.instantsoap.commandlineprocessor.commandLine Description

Data-structures for representing command-lines.

All of these objects are beans, and have jaxb bindings.

A command-line is modelled as being a working directory, an executable name and a list of arguments. The arguments may be eitehr options (switches) or prameters (literal values). The options contain the values associated with them.

The default way to use the command-line data-structures is to instantiate them with String. However, other types can be used. For example, VariableExpression.

Author:
Matthew Pocock


Copyright © 2006-2008. All Rights Reserved.