org.apache.ivy.util.cli
Class CommandLineParser
java.lang.Object
org.apache.ivy.util.cli.CommandLineParser
public class CommandLineParser
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandLineParser
public CommandLineParser()
addCategory
public CommandLineParser addCategory(java.lang.String category)
addOption
public CommandLineParser addOption(Option option)
parse
public CommandLine parse(java.lang.String[] args)
throws ParseException
- Throws:
ParseException
printHelp
public void printHelp(java.io.PrintWriter pw,
int width,
java.lang.String command,
boolean showDeprecated)