|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weka.core.Option
Class to store information about an option.
Typical usage:
Option myOption = new Option("Uses extended mode.", "E", 0, "-E"));
Constructor Summary | |
Option(java.lang.String description,
java.lang.String name,
int numArguments,
java.lang.String synopsis)
Creates new option with the given parameters. |
Method Summary | |
java.lang.String |
description()
Returns the option's description. |
java.lang.String |
name()
Returns the option's name. |
int |
numArguments()
Returns the option's number of arguments. |
java.lang.String |
synopsis()
Returns the option's synopsis. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Option(java.lang.String description, java.lang.String name, int numArguments, java.lang.String synopsis)
description
- the option's descriptionname
- the option's namenumArguments
- the number of argumentsMethod Detail |
public java.lang.String description()
public java.lang.String name()
public int numArguments()
public java.lang.String synopsis()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2003 David Lindsay, Computer Learning Research Centre, Dept. Computer Science, Royal Holloway, University of London