Package com.github.javacliparser
Class JavaCLIParser
- java.lang.Object
-
- com.github.javacliparser.JavaCLIParser
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OptionsHandler
public class JavaCLIParser extends Object implements Serializable
Java Command Line Interface Parser.- Version:
- $Revision: 7 $
- Author:
- Richard Kirkby (rkirkby@cs.waikato.ac.nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JavaCLIParser(Object c, String cliString)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Option[]
discoverOptionsViaReflection()
Gets the options of this class via reflection.Options
getOptions()
String
getPurposeString()
void
prepareClassOptions()
Prepares the options of this class.
-
-
-
Method Detail
-
getPurposeString
public String getPurposeString()
-
getOptions
public Options getOptions()
-
discoverOptionsViaReflection
public Option[] discoverOptionsViaReflection()
Gets the options of this class via reflection.- Returns:
- an array of options
-
prepareClassOptions
public void prepareClassOptions()
Prepares the options of this class.
-
-