com.myJava.commandline
Class CommandLineParser
java.lang.Object
com.myJava.commandline.CommandLineParser
public class CommandLineParser
- extends java.lang.Object
- Author:
- Ludovic QUESNELLE
Areca Build ID : 7299034069467778562
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandLineParser
public CommandLineParser()
addParameter
public void addParameter(CmdLineOption opt)
getParameter
public CmdLineOption getParameter(java.lang.String name)
throws CmdLineParserException
- Throws:
CmdLineParserException
manageOptionWithValue
protected void manageOptionWithValue(java.lang.String name,
java.lang.String value)
throws CmdLineParserException
- Throws:
CmdLineParserException
manageBooleanOption
protected void manageBooleanOption(java.lang.String name,
boolean isSet)
throws CmdLineParserException
- Throws:
CmdLineParserException
parse
public final void parse(java.lang.String[] argv,
java.util.Locale locale)
throws CmdLineParserException
- Throws:
CmdLineParserException
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
usage
public java.lang.String usage()