Package org.opennms.util.ilr
Class ArgumentParser
- java.lang.Object
-
- org.opennms.util.ilr.ArgumentParser
-
public class ArgumentParser extends Object
-
-
Constructor Summary
Constructors Constructor Description ArgumentParser(String programName, Object argHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeOption(Option o, String arg)
Option
findOptionByLongName(String arg)
Option
findOptionByShortName(String arg)
void
printHelpOptions()
void
processArgs(String[] args)
-
-
-
Method Detail
-
processArgs
public void processArgs(String[] args) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
-
printHelpOptions
public void printHelpOptions()
-
executeOption
public void executeOption(Option o, String arg) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
-
-