org.codehaus.plexus.util.cli

Class Commandline.Argument

public static class Commandline.Argument extends Object

Used for nested xml command line definitions.
Field Summary
String[]parts
Method Summary
String[]getParts()
Returns the parts this Argument consists of.
voidsetFile(File value)
Sets a single commandline argument to the absolute filename of the given file.
voidsetLine(String line)
Line to split into several commandline arguments.
voidsetValue(String value)
Sets a single commandline argument.

Field Detail

parts

private String[] parts

Method Detail

getParts

public String[] getParts()
Returns the parts this Argument consists of.

setFile

public void setFile(File value)
Sets a single commandline argument to the absolute filename of the given file.

Parameters: value a single commandline argument.

setLine

public void setLine(String line)
Line to split into several commandline arguments.

Parameters: line line to split into several commandline arguments

setValue

public void setValue(String value)
Sets a single commandline argument.

Parameters: value a single commandline argument.