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 java.lang.Object
Class to store information about an option.

Typical usage:

Option myOption = new Option("Uses extended mode.", "E", 0, "-E"));

Version:
$Revision: 1.4 $
Author:
Eibe Frank (eibe@cs.waikato.ac.nz)

Constructor Index

 o Option(String, String, int, String)
Creates new option with the given parameters.

Method Index

 o description()
Returns the option's description.
 o name()
Returns the option's name.
 o numArguments()
Returns the option's number of arguments.
 o synopsis()
Returns the option's synopsis.

Constructor Detail

 o Option
public Option(java.lang.String description,
              java.lang.String name,
              int numArguments,
              java.lang.String synopsis)
          Creates new option with the given parameters.

Method Detail

 o description
public java.lang.String description()
          Returns the option's description.
Returns:
the option's description
 o name
public java.lang.String name()
          Returns the option's name.
Returns:
the option's name
 o numArguments
public int numArguments()
          Returns the option's number of arguments.
Returns:
the option's number of arguments
 o synopsis
public java.lang.String synopsis()
          Returns the option's synopsis.
Returns:
the option's synopsis

All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home