DBVIEW
org.dbview.utils.args4j.CommaSeparatedStripedListOptionHandler Class Reference
Inheritance diagram for org.dbview.utils.args4j.CommaSeparatedStripedListOptionHandler:
Collaboration diagram for org.dbview.utils.args4j.CommaSeparatedStripedListOptionHandler:

List of all members.

Public Member Functions

 CommaSeparatedStripedListOptionHandler (CmdLineParser parser, OptionDef option, Setter<?super String > setter)
int parseArguments (Parameters in_parameters) throws CmdLineException
String getDefaultMetaVariable ()

Detailed Description

This class implements a special kind of options' values. Options' values of this kind are comma separated lists of values. For example: "value1,value,value3".

Author:
Denis BEURIVE
See also:
args4j documentation.

Definition at line 40 of file CommaSeparatedStripedListOptionHandler.java.


Constructor & Destructor Documentation

org.dbview.utils.args4j.CommaSeparatedStripedListOptionHandler.CommaSeparatedStripedListOptionHandler ( CmdLineParser  parser,
OptionDef  option,
Setter<?super String >  setter 
)

Constructor.

Parameters:
parserArgs4J command line parser.
optionSee documentation for Args4J.
setterSee documentation for Args4J.

Definition at line 48 of file CommaSeparatedStripedListOptionHandler.java.


Member Function Documentation

String org.dbview.utils.args4j.CommaSeparatedStripedListOptionHandler.getDefaultMetaVariable ( )

See documentation for Args4J.

Returns:
See documentation for Args4J.

Definition at line 84 of file CommaSeparatedStripedListOptionHandler.java.

int org.dbview.utils.args4j.CommaSeparatedStripedListOptionHandler.parseArguments ( Parameters  in_parameters) throws CmdLineException

This method sets the parsed argument.

Parameters:
in_parametersList of strings that represents the parameters for the option.
Warning:
Keep in mind that this method may set the value null.
Returns:
See documentation for Args4J.

Definition at line 59 of file CommaSeparatedStripedListOptionHandler.java.


The documentation for this class was generated from the following file: