|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.core.Option
public class Option
Class to store information about an option.
Typical usage:
Option myOption = new Option("Uses extended mode.", "E", 0, "-E"));
| Constructor Summary | |
|---|---|
Option(String description,
String name,
int numArguments,
String synopsis)
Creates new option with the given parameters. |
|
| Method Summary | |
|---|---|
String |
description()
Returns the option's description. |
String |
getRevision()
Returns the revision string. |
String |
name()
Returns the option's name. |
int |
numArguments()
Returns the option's number of arguments. |
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(String description,
String name,
int numArguments,
String synopsis)
description - the option's descriptionname - the option's namenumArguments - the number of arguments| Method Detail |
|---|
public String description()
public String name()
public int numArguments()
public String synopsis()
public String getRevision()
getRevision in interface RevisionHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||