All Packages Class Hierarchy This Package Previous Next Index WEKA's home
Class weka.core.Option
java.lang.Object
|
+----weka.core.Option
- public class Option
- extends Object
Class to store information about an option.
Typical usage:
Option myOption = new Option("Uses extended mode.", "E", 0, "-E"));
- Version:
- $Revision: 1.2 $
- Author:
- Eibe Frank (eibe@cs.waikato.ac.nz)
-
Option(String, String, int, String)
- Creates new option with the given parameters.
-
description()
- Returns the option's description.
-
name()
- Returns the option's name.
-
numArguments()
- Returns the option's number of arguments.
-
synopsis()
- Returns the option's synopsis.
Option
public Option(String description,
String name,
int numArguments,
String synopsis)
- Creates new option with the given parameters.
description
public String description()
- Returns the option's description.
- Returns:
- the option's description
name
public String name()
- Returns the option's name.
- Returns:
- the option's name
numArguments
public int numArguments()
- Returns the option's number of arguments.
- Returns:
- the option's number of arguments
synopsis
public String synopsis()
- Returns the option's synopsis.
- Returns:
- the option's synopsis
All Packages Class Hierarchy This Package Previous Next Index WEKA's home