MOA 12.03
Real Time Analytics for Data Streams
moa.options.Options Class Reference

File option. More...

Inheritance diagram for moa.options.Options:
Collaboration diagram for moa.options.Options:

List of all members.

Public Member Functions

void addOption (Option opt)
int numOptions ()
Option getOption (String optName)
Option getOption (char cliChar)
Option[] getOptionArray ()
void removeOption (String optName)
void removeOption (Option opt)
void removeAllOptions ()
void resetToDefaults ()
void setViaCLIString (String cliString)
String getAsCLIString ()
String getHelpString ()
void getHelp (StringBuilder sb, int indent)
void getDescription (StringBuilder sb, int indent)
 Returns a string representation of this object.

Static Protected Member Functions

static String[] splitParameterFromRemainingOptions (String cliString)
 Internal method that splits a string into two parts - the parameter for the current option, and the remaining options.

Protected Attributes

List< OptionoptionList = new LinkedList<Option>()

Detailed Description

File option.

Author:
Richard Kirkby (rkirkby@cs.waikato.ac.nz)
Version:
Revision:
7

Definition at line 34 of file Options.java.


Member Function Documentation

void moa.options.Options.addOption ( Option  opt)

Definition at line 40 of file Options.java.

Referenced by moa.options.ClassOption.cliStringToObject(), and moa.options.AbstractOptionHandler.getOptions().

Here is the call graph for this function:

Here is the caller graph for this function:

String moa.options.Options.getAsCLIString ( )

Definition at line 161 of file Options.java.

Referenced by moa.options.AbstractOptionHandler.getCLICreationString().

Here is the caller graph for this function:

void moa.options.Options.getDescription ( StringBuilder  sb,
int  indent 
)

Returns a string representation of this object.

Used in AbstractMOAObject.toString to give a string representation of the object.

Parameters:
sbthe stringbuilder to add the description
indentthe number of characters to indent

Implements moa.MOAObject.

Definition at line 268 of file Options.java.

void moa.options.Options.getHelp ( StringBuilder  sb,
int  indent 
)

Definition at line 188 of file Options.java.

Referenced by moa.options.Options.getHelpString().

Here is the call graph for this function:

Here is the caller graph for this function:

String moa.options.Options.getHelpString ( )

Definition at line 182 of file Options.java.

Referenced by moa.gui.OptionsConfigurationPanel.getHelpText().

Here is the call graph for this function:

Here is the caller graph for this function:

Option moa.options.Options.getOption ( char  cliChar)

Definition at line 66 of file Options.java.

Option moa.options.Options.getOption ( String  optName)

Definition at line 57 of file Options.java.

Referenced by moa.options.Options.addOption(), moa.options.Options.removeOption(), and moa.options.Options.setViaCLIString().

Here is the caller graph for this function:

Option [] moa.options.Options.getOptionArray ( )

Definition at line 75 of file Options.java.

Referenced by moa.gui.OptionsConfigurationPanel.OptionsConfigurationPanel(), and moa.options.AbstractOptionHandler.prepareClassOptions().

Here is the caller graph for this function:

int moa.options.Options.numOptions ( )

Definition at line 53 of file Options.java.

void moa.options.Options.removeAllOptions ( )

Definition at line 87 of file Options.java.

Referenced by moa.options.ClassOption.cliStringToObject().

Here is the caller graph for this function:

void moa.options.Options.removeOption ( Option  opt)

Definition at line 83 of file Options.java.

void moa.options.Options.removeOption ( String  optName)

Definition at line 79 of file Options.java.

Here is the call graph for this function:

void moa.options.Options.resetToDefaults ( )

Definition at line 91 of file Options.java.

void moa.options.Options.setViaCLIString ( String  cliString)

Definition at line 97 of file Options.java.

Referenced by moa.options.ClassOption.cliStringToObject().

Here is the call graph for this function:

Here is the caller graph for this function:

static String [] moa.options.Options.splitParameterFromRemainingOptions ( String  cliString) [static, protected]

Internal method that splits a string into two parts - the parameter for the current option, and the remaining options.

Parameters:
cliStringthe command line string, beginning at an option parameter
Returns:
an array of two strings - the first is the option paramter, the second is the remaining cli string

Definition at line 221 of file Options.java.

Referenced by moa.options.Options.setViaCLIString().

Here is the caller graph for this function:


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations