net.sf.jomic.common
Class JomicJSAP
java.lang.Object
com.martiansoftware.jsap.JSAP
net.sf.jomic.common.JomicJSAP
public class JomicJSAP
- extends com.martiansoftware.jsap.JSAP
Command line option parser for Jomic.
- Author:
- Thomas Aglassinger
Fields inherited from class com.martiansoftware.jsap.JSAP |
DEFAULT_LISTSEPARATOR, GREEDY, LIST, MULTIPLEDECLARATIONS, NO_DEFAULT, NO_LONGFLAG, NO_MULTIPLEDECLARATIONS, NO_SHORTFLAG, NOT_GREEDY, NOT_LIST, NOT_REQUIRED, REQUIRED |
Constructor Summary |
JomicJSAP()
Create JSAP for Jomic command line options. |
Method Summary |
com.martiansoftware.jsap.JSAPResult |
parse(java.lang.String argument)
|
com.martiansoftware.jsap.JSAPResult |
parse(java.lang.String[] arguments)
|
void |
printHelp(java.io.PrintStream stream)
Print help about command line options. |
void |
printLicense(java.io.PrintStream stream)
Print summary of license. |
void |
printVersion(java.io.PrintStream stream)
Print version number. |
Methods inherited from class com.martiansoftware.jsap.JSAP |
finalize, getByID, getByLongFlag, getByShortFlag, getByShortFlag, getDefaults, getHelp, getHelp, getIDMap, getUnflaggedOptionsIterator, getUsage, registerDefaultSource, registerParameter, setHelp, setUsage, toString, unregisterDefaultSource, unregisterParameter |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ARG_CLEAR_CACHE
public static final java.lang.String ARG_CLEAR_CACHE
- See Also:
- Constant Field Values
ARG_CONTINUE
public static final java.lang.String ARG_CONTINUE
- See Also:
- Constant Field Values
ARG_FILE
public static final java.lang.String ARG_FILE
- See Also:
- Constant Field Values
ARG_HELP
public static final java.lang.String ARG_HELP
- See Also:
- Constant Field Values
ARG_LICENSE
public static final java.lang.String ARG_LICENSE
- See Also:
- Constant Field Values
ARG_VERSION
public static final java.lang.String ARG_VERSION
- See Also:
- Constant Field Values
JomicJSAP
public JomicJSAP()
throws com.martiansoftware.jsap.JSAPException
- Create JSAP for Jomic command line options.
- Throws:
com.martiansoftware.jsap.JSAPException
- Description of the exception
parse
public com.martiansoftware.jsap.JSAPResult parse(java.lang.String argument)
- Overrides:
parse
in class com.martiansoftware.jsap.JSAP
parse
public com.martiansoftware.jsap.JSAPResult parse(java.lang.String[] arguments)
- Overrides:
parse
in class com.martiansoftware.jsap.JSAP
printHelp
public void printHelp(java.io.PrintStream stream)
- Print help about command line options.
printLicense
public void printLicense(java.io.PrintStream stream)
- Print summary of license.
printVersion
public void printVersion(java.io.PrintStream stream)
- Print version number.