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

String option. More...

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

List of all members.

Public Member Functions

 StringOption (String name, char cliChar, String purpose, String defaultVal)
void setValue (String v)
String getValue ()
String getDefaultCLIString ()
 Gets the Command Line Interface text.
String getValueAsCLIString ()
 Gets the value of a Command Line Interface text as a string.
void setValueViaCLIString (String s)
 Sets value of this option via the Command Line Interface text.

Protected Attributes

String currentVal
String defaultVal

Detailed Description

String option.

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

Definition at line 28 of file StringOption.java.


Constructor & Destructor Documentation

moa.options.StringOption.StringOption ( String  name,
char  cliChar,
String  purpose,
String  defaultVal 
)

Definition at line 36 of file StringOption.java.

Here is the call graph for this function:


Member Function Documentation

String moa.options.StringOption.getDefaultCLIString ( )

Gets the Command Line Interface text.

Returns:
the Command Line Interface text

Implements moa.options.Option.

Definition at line 52 of file StringOption.java.

String moa.options.StringOption.getValue ( )
String moa.options.StringOption.getValueAsCLIString ( )

Gets the value of a Command Line Interface text as a string.

Returns:
the string with the value of the Command Line Interface text

Implements moa.options.Option.

Definition at line 57 of file StringOption.java.

Referenced by moa.gui.FileOptionEditComponent.FileOptionEditComponent().

Here is the caller graph for this function:

void moa.options.StringOption.setValue ( String  v)
void moa.options.StringOption.setValueViaCLIString ( String  s)

Sets value of this option via the Command Line Interface text.

Parameters:
sthe Command Line Interface text

Implements moa.options.Option.

Definition at line 62 of file StringOption.java.

Referenced by moa.gui.FileOptionEditComponent.applyState().

Here is the call graph for this function:

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