org.opennms.util.ilr
Class ArgumentParser
java.lang.Object
org.opennms.util.ilr.ArgumentParser
public class ArgumentParser
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArgumentParser
public ArgumentParser(String programName,
Object argHandler)
processArgs
public void processArgs(String[] args)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
printHelpOptions
public void printHelpOptions()
executeOption
public void executeOption(Option o,
String arg)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
findOptionByShortName
public Option findOptionByShortName(String arg)
findOptionByLongName
public Option findOptionByLongName(String arg)
Copyright © 2011. All Rights Reserved.