|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jargp.ParameterDef
public abstract class ParameterDef
Base class for command line parameter definitions. This is used for simple command line parameters of various flavors. Subclasses define the particular types of parameters supported.
| Method Summary | |
|---|---|
java.lang.String |
getAbbreviation()
Get text abbreviation for parameter. |
java.lang.String |
getDescription()
Get text of parameter description. |
char |
getFlag()
Get flag character for parameter. |
abstract void |
handle(ArgumentProcessor proc)
Handle argument. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getAbbreviation()
public char getFlag()
public java.lang.String getDescription()
file - file to be read
IOException - on file access errorpublic abstract void handle(ArgumentProcessor proc)
proc - argument processor making call to handler
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||