META-INF/
META-INF/MANIFEST.MF
org/
org/apache/
org/apache/commons/
org/apache/commons/cli/
META-INF/LICENSE.txt
META-INF/NOTICE.txt
org/apache/commons/cli/AlreadySelectedException.classAlreadySelectedException.java
package org.apache.commons.cli
public org.apache.commons.cli.AlreadySelectedException extends org.apache.commons.cli.ParseException {
private static final long serialVersionUID
private org.apache.commons.cli.OptionGroup group
private org.apache.commons.cli.Option option
public void (java.lang.String)
String message
public void (org.apache.commons.cli.OptionGroup, org.apache.commons.cli.Option)
org.apache.commons.cli.OptionGroup group
org.apache.commons.cli.Option option
public org.apache.commons.cli.OptionGroup getOptionGroup ()
public org.apache.commons.cli.Option getOption ()
}
org/apache/commons/cli/AmbiguousOptionException.classAmbiguousOptionException.java
package org.apache.commons.cli
public org.apache.commons.cli.AmbiguousOptionException extends org.apache.commons.cli.UnrecognizedOptionException {
private static final long serialVersionUID
private final java.util.Collection matchingOptions
public void (java.lang.String, java.util.Collection)
String option
java.util.Collection matchingOptions
public java.util.Collection getMatchingOptions ()
private static java.lang.String createMessage (java.lang.String, java.util.Collection)
String option
java.util.Collection matchingOptions
StringBuilder buf
java.util.Iterator it
}
org/apache/commons/cli/BasicParser.classBasicParser.java
package org.apache.commons.cli
public org.apache.commons.cli.BasicParser extends org.apache.commons.cli.Parser {
public void ()
protected java.lang.String[] flatten (org.apache.commons.cli.Options, java.lang.String[], boolean)
org.apache.commons.cli.Options options
String[] arguments
boolean stopAtNonOption
}
org/apache/commons/cli/CommandLine.classCommandLine.java
package org.apache.commons.cli
public org.apache.commons.cli.CommandLine extends java.lang.Object implements java.io.Serializable {
private static final long serialVersionUID
private final java.util.List args
private final java.util.List options
protected void ()
public boolean hasOption (java.lang.String)
String opt
public boolean hasOption (char)
char opt
public java.lang.Object getOptionObject (java.lang.String)
org.apache.commons.cli.ParseException pe
String opt
public java.lang.Object getParsedOptionValue (java.lang.String) throws org.apache.commons.cli.ParseException
String opt
String res
org.apache.commons.cli.Option option
public java.lang.Object getOptionObject (char)
char opt
public java.lang.String getOptionValue (java.lang.String)
String opt
String[] values
public java.lang.String getOptionValue (char)
char opt
public java.lang.String[] getOptionValues (java.lang.String)
org.apache.commons.cli.Option option
String opt
java.util.List values
private org.apache.commons.cli.Option resolveOption (java.lang.String)
org.apache.commons.cli.Option option
String opt
public java.lang.String[] getOptionValues (char)
char opt
public java.lang.String getOptionValue (java.lang.String, java.lang.String)
String opt
String defaultValue
String answer
public java.lang.String getOptionValue (char, java.lang.String)
char opt
String defaultValue
public java.util.Properties getOptionProperties (java.lang.String)
java.util.List values
org.apache.commons.cli.Option option
String opt
java.util.Properties props
public java.lang.String[] getArgs ()
String[] answer
public java.util.List getArgList ()
protected void addArg (java.lang.String)
String arg
protected void addOption (org.apache.commons.cli.Option)
org.apache.commons.cli.Option opt
public java.util.Iterator iterator ()
public org.apache.commons.cli.Option[] getOptions ()
java.util.Collection processed
org.apache.commons.cli.Option[] optionsArray
}
org/apache/commons/cli/CommandLineParser.classCommandLineParser.java
package org.apache.commons.cli
public abstract org.apache.commons.cli.CommandLineParser extends java.lang.Object {
public abstract org.apache.commons.cli.CommandLine parse (org.apache.commons.cli.Options, java.lang.String[]) throws org.apache.commons.cli.ParseException
public abstract org.apache.commons.cli.CommandLine parse (org.apache.commons.cli.Options, java.lang.String[], boolean) throws org.apache.commons.cli.ParseException
}
org/apache/commons/cli/DefaultParser.classDefaultParser.java
package org.apache.commons.cli
public org.apache.commons.cli.DefaultParser extends java.lang.Object implements org.apache.commons.cli.CommandLineParser {
protected org.apache.commons.cli.CommandLine cmd
protected org.apache.commons.cli.Options options
protected boolean stopAtNonOption
protected String currentToken
protected org.apache.commons.cli.Option currentOption
protected boolean skipParsing
protected java.util.List expectedOpts
public void ()
public org.apache.commons.cli.CommandLine parse (org.apache.commons.cli.Options, java.lang.String[]) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.Options options
String[] arguments
public org.apache.commons.cli.CommandLine parse (org.apache.commons.cli.Options, java.lang.String[], java.util.Properties) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.Options options
String[] arguments
java.util.Properties properties
public org.apache.commons.cli.CommandLine parse (org.apache.commons.cli.Options, java.lang.String[], boolean) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.Options options
String[] arguments
boolean stopAtNonOption
public org.apache.commons.cli.CommandLine parse (org.apache.commons.cli.Options, java.lang.String[], java.util.Properties, boolean) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.OptionGroup group
String argument
org.apache.commons.cli.Options options
String[] arguments
java.util.Properties properties
boolean stopAtNonOption
private void handleProperties (java.util.Properties) throws org.apache.commons.cli.ParseException
String value
String option
org.apache.commons.cli.Option opt
org.apache.commons.cli.OptionGroup group
boolean selected
java.util.Enumeration e
java.util.Properties properties
private void checkRequiredOptions () throws org.apache.commons.cli.MissingOptionException
private void checkRequiredArgs () throws org.apache.commons.cli.ParseException
private void handleToken (java.lang.String) throws org.apache.commons.cli.ParseException
String token
private boolean isArgument (java.lang.String)
String token
private boolean isNegativeNumber (java.lang.String)
NumberFormatException e
String token
private boolean isOption (java.lang.String)
String token
private boolean isShortOption (java.lang.String)
String token
private boolean isLongOption (java.lang.String)
String token
int pos
String t
private void handleUnknownToken (java.lang.String) throws org.apache.commons.cli.ParseException
String token
private void handleLongOption (java.lang.String) throws org.apache.commons.cli.ParseException
String token
private void handleLongOptionWithoutEqual (java.lang.String) throws org.apache.commons.cli.ParseException
String token
java.util.List matchingOpts
private void handleLongOptionWithEqual (java.lang.String) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.Option option
String token
int pos
String value
String opt
java.util.List matchingOpts
private void handleShortAndLongOption (java.lang.String) throws org.apache.commons.cli.ParseException
String opt
org.apache.commons.cli.Option option
String opt
String value
String token
String t
int pos
private java.lang.String getLongPrefix (java.lang.String)
String prefix
String token
String t
int i
String opt
private boolean isJavaProperty (java.lang.String)
String token
String opt
org.apache.commons.cli.Option option
private void handleOption (org.apache.commons.cli.Option) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.Option option
private void updateRequiredOptions (org.apache.commons.cli.Option) throws org.apache.commons.cli.AlreadySelectedException
org.apache.commons.cli.OptionGroup group
org.apache.commons.cli.Option option
protected void handleConcatenatedOptions (java.lang.String) throws org.apache.commons.cli.ParseException
String ch
int i
String token
}
org/apache/commons/cli/GnuParser.classGnuParser.java
package org.apache.commons.cli
public org.apache.commons.cli.GnuParser extends org.apache.commons.cli.Parser {
public void ()
protected java.lang.String[] flatten (org.apache.commons.cli.Options, java.lang.String[], boolean)
String opt
String arg
int i
org.apache.commons.cli.Options options
String[] arguments
boolean stopAtNonOption
java.util.List tokens
boolean eatTheRest
}
org/apache/commons/cli/HelpFormatter$1.classHelpFormatter.java
package org.apache.commons.cli
synthetic org.apache.commons.cli.HelpFormatter$1 extends java.lang.Object {
}
org/apache/commons/cli/HelpFormatter$OptionComparator.classHelpFormatter.java
package org.apache.commons.cli
org.apache.commons.cli.HelpFormatter$OptionComparator extends java.lang.Object implements java.util.Comparator java.io.Serializable {
private static final long serialVersionUID
private void ()
public int compare (org.apache.commons.cli.Option, org.apache.commons.cli.Option)
org.apache.commons.cli.Option opt1
org.apache.commons.cli.Option opt2
public volatile synthetic int compare (java.lang.Object, java.lang.Object)
synthetic void (org.apache.commons.cli.HelpFormatter$1)
org.apache.commons.cli.HelpFormatter$1 x0
}
org/apache/commons/cli/HelpFormatter.classHelpFormatter.java
package org.apache.commons.cli
public org.apache.commons.cli.HelpFormatter extends java.lang.Object {
public static final int DEFAULT_WIDTH
public static final int DEFAULT_LEFT_PAD
public static final int DEFAULT_DESC_PAD
public static final String DEFAULT_SYNTAX_PREFIX
public static final String DEFAULT_OPT_PREFIX
public static final String DEFAULT_LONG_OPT_PREFIX
public static final String DEFAULT_LONG_OPT_SEPARATOR
public static final String DEFAULT_ARG_NAME
public int defaultWidth
public int defaultLeftPad
public int defaultDescPad
public String defaultSyntaxPrefix
public String defaultNewLine
public String defaultOptPrefix
public String defaultLongOptPrefix
public String defaultArgName
protected java.util.Comparator optionComparator
private String longOptSeparator
public void ()
public void setWidth (int)
int width
public int getWidth ()
public void setLeftPadding (int)
int padding
public int getLeftPadding ()
public void setDescPadding (int)
int padding
public int getDescPadding ()
public void setSyntaxPrefix (java.lang.String)
String prefix
public java.lang.String getSyntaxPrefix ()
public void setNewLine (java.lang.String)
String newline
public java.lang.String getNewLine ()
public void setOptPrefix (java.lang.String)
String prefix
public java.lang.String getOptPrefix ()
public void setLongOptPrefix (java.lang.String)
String prefix
public java.lang.String getLongOptPrefix ()
public void setLongOptSeparator (java.lang.String)
String longOptSeparator
public java.lang.String getLongOptSeparator ()
public void setArgName (java.lang.String)
String name
public java.lang.String getArgName ()
public java.util.Comparator getOptionComparator ()
public void setOptionComparator (java.util.Comparator)
java.util.Comparator comparator
public void printHelp (java.lang.String, org.apache.commons.cli.Options)
String cmdLineSyntax
org.apache.commons.cli.Options options
public void printHelp (java.lang.String, org.apache.commons.cli.Options, boolean)
String cmdLineSyntax
org.apache.commons.cli.Options options
boolean autoUsage
public void printHelp (java.lang.String, java.lang.String, org.apache.commons.cli.Options, java.lang.String)
String cmdLineSyntax
String header
org.apache.commons.cli.Options options
String footer
public void printHelp (java.lang.String, java.lang.String, org.apache.commons.cli.Options, java.lang.String, boolean)
String cmdLineSyntax
String header
org.apache.commons.cli.Options options
String footer
boolean autoUsage
public void printHelp (int, java.lang.String, java.lang.String, org.apache.commons.cli.Options, java.lang.String)
int width
String cmdLineSyntax
String header
org.apache.commons.cli.Options options
String footer
public void printHelp (int, java.lang.String, java.lang.String, org.apache.commons.cli.Options, java.lang.String, boolean)
int width
String cmdLineSyntax
String header
org.apache.commons.cli.Options options
String footer
boolean autoUsage
java.io.PrintWriter pw
public void printHelp (java.io.PrintWriter, int, java.lang.String, java.lang.String, org.apache.commons.cli.Options, int, int, java.lang.String)
java.io.PrintWriter pw
int width
String cmdLineSyntax
String header
org.apache.commons.cli.Options options
int leftPad
int descPad
String footer
public void printHelp (java.io.PrintWriter, int, java.lang.String, java.lang.String, org.apache.commons.cli.Options, int, int, java.lang.String, boolean)
java.io.PrintWriter pw
int width
String cmdLineSyntax
String header
org.apache.commons.cli.Options options
int leftPad
int descPad
String footer
boolean autoUsage
public void printUsage (java.io.PrintWriter, int, java.lang.String, org.apache.commons.cli.Options)
org.apache.commons.cli.Option option
org.apache.commons.cli.OptionGroup group
java.util.Iterator it
java.io.PrintWriter pw
int width
String app
org.apache.commons.cli.Options options
StringBuffer buff
java.util.Collection processedGroups
java.util.List optList
private void appendOptionGroup (java.lang.StringBuffer, org.apache.commons.cli.OptionGroup)
java.util.Iterator it
StringBuffer buff
org.apache.commons.cli.OptionGroup group
java.util.List optList
private void appendOption (java.lang.StringBuffer, org.apache.commons.cli.Option, boolean)
StringBuffer buff
org.apache.commons.cli.Option option
boolean required
public void printUsage (java.io.PrintWriter, int, java.lang.String)
java.io.PrintWriter pw
int width
String cmdLineSyntax
int argPos
public void printOptions (java.io.PrintWriter, int, org.apache.commons.cli.Options, int, int)
java.io.PrintWriter pw
int width
org.apache.commons.cli.Options options
int leftPad
int descPad
StringBuffer sb
public void printWrapped (java.io.PrintWriter, int, java.lang.String)
java.io.PrintWriter pw
int width
String text
public void printWrapped (java.io.PrintWriter, int, int, java.lang.String)
java.io.PrintWriter pw
int width
int nextLineTabStop
String text
StringBuffer sb
protected java.lang.StringBuffer renderOptions (java.lang.StringBuffer, int, org.apache.commons.cli.Options, int, int)
String argName
StringBuffer optBuf
org.apache.commons.cli.Option option
org.apache.commons.cli.Option option
StringBuilder optBuf
int nextLineTabStop
java.util.Iterator it
StringBuffer sb
int width
org.apache.commons.cli.Options options
int leftPad
int descPad
String lpad
String dpad
int max
java.util.List prefixList
java.util.List optList
int x
protected java.lang.StringBuffer renderWrappedText (java.lang.StringBuffer, int, int, java.lang.String)
StringBuffer sb
int width
int nextLineTabStop
String text
int pos
String padding
private java.lang.Appendable renderWrappedTextBlock (java.lang.StringBuffer, int, int, java.lang.String)
java.io.BufferedReader in
String line
boolean firstLine
java.io.IOException e
StringBuffer sb
int width
int nextLineTabStop
String text
protected int findWrapPos (java.lang.String, int, int)
char c
String text
int width
int startPos
int pos
protected java.lang.String createPadding (int)
int len
char[] padding
protected java.lang.String rtrim (java.lang.String)
String s
int pos
}
org/apache/commons/cli/MissingArgumentException.classMissingArgumentException.java
package org.apache.commons.cli
public org.apache.commons.cli.MissingArgumentException extends org.apache.commons.cli.ParseException {
private static final long serialVersionUID
private org.apache.commons.cli.Option option
public void (java.lang.String)
String message
public void (org.apache.commons.cli.Option)
org.apache.commons.cli.Option option
public org.apache.commons.cli.Option getOption ()
}
org/apache/commons/cli/MissingOptionException.classMissingOptionException.java
package org.apache.commons.cli
public org.apache.commons.cli.MissingOptionException extends org.apache.commons.cli.ParseException {
private static final long serialVersionUID
private java.util.List missingOptions
public void (java.lang.String)
String message
public void (java.util.List)
java.util.List missingOptions
public java.util.List getMissingOptions ()
private static java.lang.String createMessage (java.util.List)
java.util.List missingOptions
StringBuilder buf
java.util.Iterator it
}
org/apache/commons/cli/Option$1.classOption.java
package org.apache.commons.cli
synthetic org.apache.commons.cli.Option$1 extends java.lang.Object {
}
org/apache/commons/cli/Option$Builder.classOption.java
package org.apache.commons.cli
public final org.apache.commons.cli.Option$Builder extends java.lang.Object {
private final String opt
private String description
private String longOpt
private String argName
private boolean required
private boolean optionalArg
private int numberOfArgs
private Class type
private char valuesep
private void (java.lang.String) throws java.lang.IllegalArgumentException
String opt
public org.apache.commons.cli.Option$Builder argName (java.lang.String)
String argName
public org.apache.commons.cli.Option$Builder desc (java.lang.String)
String description
public org.apache.commons.cli.Option$Builder longOpt (java.lang.String)
String longOpt
public org.apache.commons.cli.Option$Builder numberOfArgs (int)
int numberOfArgs
public org.apache.commons.cli.Option$Builder optionalArg (boolean)
boolean isOptional
public org.apache.commons.cli.Option$Builder required ()
public org.apache.commons.cli.Option$Builder required (boolean)
boolean required
public org.apache.commons.cli.Option$Builder type (java.lang.Class)
Class type
public org.apache.commons.cli.Option$Builder valueSeparator ()
public org.apache.commons.cli.Option$Builder valueSeparator (char)
char sep
public org.apache.commons.cli.Option$Builder hasArg ()
public org.apache.commons.cli.Option$Builder hasArg (boolean)
boolean hasArg
public org.apache.commons.cli.Option$Builder hasArgs ()
public org.apache.commons.cli.Option build ()
static synthetic java.lang.String access$000 (org.apache.commons.cli.Option$Builder)
org.apache.commons.cli.Option$Builder x0
static synthetic java.lang.String access$100 (org.apache.commons.cli.Option$Builder)
org.apache.commons.cli.Option$Builder x0
static synthetic java.lang.String access$200 (org.apache.commons.cli.Option$Builder)
org.apache.commons.cli.Option$Builder x0
static synthetic int access$300 (org.apache.commons.cli.Option$Builder)
org.apache.commons.cli.Option$Builder x0
static synthetic java.lang.String access$400 (org.apache.commons.cli.Option$Builder)
org.apache.commons.cli.Option$Builder x0
static synthetic boolean access$500 (org.apache.commons.cli.Option$Builder)
org.apache.commons.cli.Option$Builder x0
static synthetic boolean access$600 (org.apache.commons.cli.Option$Builder)
org.apache.commons.cli.Option$Builder x0
static synthetic java.lang.Class access$700 (org.apache.commons.cli.Option$Builder)
org.apache.commons.cli.Option$Builder x0
static synthetic char access$800 (org.apache.commons.cli.Option$Builder)
org.apache.commons.cli.Option$Builder x0
synthetic void (java.lang.String, org.apache.commons.cli.Option$1) throws java.lang.IllegalArgumentException
String x0
org.apache.commons.cli.Option$1 x1
}
org/apache/commons/cli/Option.classOption.java
package org.apache.commons.cli
public org.apache.commons.cli.Option extends java.lang.Object implements java.lang.Cloneable java.io.Serializable {
public static final int UNINITIALIZED
public static final int UNLIMITED_VALUES
private static final long serialVersionUID
private final String opt
private String longOpt
private String argName
private String description
private boolean required
private boolean optionalArg
private int numberOfArgs
private Class type
private java.util.List values
private char valuesep
private void (org.apache.commons.cli.Option$Builder)
org.apache.commons.cli.Option$Builder builder
public void (java.lang.String, java.lang.String) throws java.lang.IllegalArgumentException
String opt
String description
public void (java.lang.String, boolean, java.lang.String) throws java.lang.IllegalArgumentException
String opt
boolean hasArg
String description
public void (java.lang.String, java.lang.String, boolean, java.lang.String) throws java.lang.IllegalArgumentException
String opt
String longOpt
boolean hasArg
String description
public int getId ()
java.lang.String getKey ()
public java.lang.String getOpt ()
public java.lang.Object getType ()
public void setType (java.lang.Object)
Object type
public void setType (java.lang.Class)
Class type
public java.lang.String getLongOpt ()
public void setLongOpt (java.lang.String)
String longOpt
public void setOptionalArg (boolean)
boolean optionalArg
public boolean hasOptionalArg ()
public boolean hasLongOpt ()
public boolean hasArg ()
public java.lang.String getDescription ()
public void setDescription (java.lang.String)
String description
public boolean isRequired ()
public void setRequired (boolean)
boolean required
public void setArgName (java.lang.String)
String argName
public java.lang.String getArgName ()
public boolean hasArgName ()
public boolean hasArgs ()
public void setArgs (int)
int num
public void setValueSeparator (char)
char sep
public char getValueSeparator ()
public boolean hasValueSeparator ()
public int getArgs ()
void addValueForProcessing (java.lang.String)
String value
private void processValue (java.lang.String)
char sep
int index
String value
private void add (java.lang.String)
String value
public java.lang.String getValue ()
public java.lang.String getValue (int) throws java.lang.IndexOutOfBoundsException
int index
public java.lang.String getValue (java.lang.String)
String defaultValue
String value
public java.lang.String[] getValues ()
public java.util.List getValuesList ()
public java.lang.String toString ()
StringBuilder buf
private boolean hasNoValues ()
public boolean equals (java.lang.Object)
Object o
org.apache.commons.cli.Option option
public int hashCode ()
int result
public java.lang.Object clone ()
org.apache.commons.cli.Option option
CloneNotSupportedException cnse
void clearValues ()
public boolean addValue (java.lang.String)
String value
boolean acceptsArg ()
boolean requiresArg ()
public static org.apache.commons.cli.Option$Builder builder ()
public static org.apache.commons.cli.Option$Builder builder (java.lang.String)
String opt
synthetic void (org.apache.commons.cli.Option$Builder, org.apache.commons.cli.Option$1)
org.apache.commons.cli.Option$Builder x0
org.apache.commons.cli.Option$1 x1
}
org/apache/commons/cli/OptionBuilder.classOptionBuilder.java
package org.apache.commons.cli
public final org.apache.commons.cli.OptionBuilder extends java.lang.Object {
private static String longopt
private static String description
private static String argName
private static boolean required
private static int numberOfArgs
private static Class type
private static boolean optionalArg
private static char valuesep
private static final org.apache.commons.cli.OptionBuilder INSTANCE
private void ()
private static void reset ()
public static org.apache.commons.cli.OptionBuilder withLongOpt (java.lang.String)
String newLongopt
public static org.apache.commons.cli.OptionBuilder hasArg ()
public static org.apache.commons.cli.OptionBuilder hasArg (boolean)
boolean hasArg
public static org.apache.commons.cli.OptionBuilder withArgName (java.lang.String)
String name
public static org.apache.commons.cli.OptionBuilder isRequired ()
public static org.apache.commons.cli.OptionBuilder withValueSeparator (char)
char sep
public static org.apache.commons.cli.OptionBuilder withValueSeparator ()
public static org.apache.commons.cli.OptionBuilder isRequired (boolean)
boolean newRequired
public static org.apache.commons.cli.OptionBuilder hasArgs ()
public static org.apache.commons.cli.OptionBuilder hasArgs (int)
int num
public static org.apache.commons.cli.OptionBuilder hasOptionalArg ()
public static org.apache.commons.cli.OptionBuilder hasOptionalArgs ()
public static org.apache.commons.cli.OptionBuilder hasOptionalArgs (int)
int numArgs
public static org.apache.commons.cli.OptionBuilder withType (java.lang.Object)
Object newType
public static org.apache.commons.cli.OptionBuilder withType (java.lang.Class)
Class newType
public static org.apache.commons.cli.OptionBuilder withDescription (java.lang.String)
String newDescription
public static org.apache.commons.cli.Option create (char) throws java.lang.IllegalArgumentException
char opt
public static org.apache.commons.cli.Option create () throws java.lang.IllegalArgumentException
public static org.apache.commons.cli.Option create (java.lang.String) throws java.lang.IllegalArgumentException
String opt
org.apache.commons.cli.Option option
static void ()
}
org/apache/commons/cli/OptionGroup.classOptionGroup.java
package org.apache.commons.cli
public org.apache.commons.cli.OptionGroup extends java.lang.Object implements java.io.Serializable {
private static final long serialVersionUID
private final java.util.Map optionMap
private String selected
private boolean required
public void ()
public org.apache.commons.cli.OptionGroup addOption (org.apache.commons.cli.Option)
org.apache.commons.cli.Option option
public java.util.Collection getNames ()
public java.util.Collection getOptions ()
public void setSelected (org.apache.commons.cli.Option) throws org.apache.commons.cli.AlreadySelectedException
org.apache.commons.cli.Option option
public java.lang.String getSelected ()
public void setRequired (boolean)
boolean required
public boolean isRequired ()
public java.lang.String toString ()
org.apache.commons.cli.Option option
StringBuilder buff
java.util.Iterator iter
}
org/apache/commons/cli/Options.classOptions.java
package org.apache.commons.cli
public org.apache.commons.cli.Options extends java.lang.Object implements java.io.Serializable {
private static final long serialVersionUID
private final java.util.Map shortOpts
private final java.util.Map longOpts
private final java.util.List requiredOpts
private final java.util.Map optionGroups
public void ()
public org.apache.commons.cli.Options addOptionGroup (org.apache.commons.cli.OptionGroup)
org.apache.commons.cli.Option option
org.apache.commons.cli.OptionGroup group
java.util.Collection getOptionGroups ()
public org.apache.commons.cli.Options addOption (java.lang.String, java.lang.String)
String opt
String description
public org.apache.commons.cli.Options addOption (java.lang.String, boolean, java.lang.String)
String opt
boolean hasArg
String description
public org.apache.commons.cli.Options addOption (java.lang.String, java.lang.String, boolean, java.lang.String)
String opt
String longOpt
boolean hasArg
String description
public org.apache.commons.cli.Options addOption (org.apache.commons.cli.Option)
org.apache.commons.cli.Option opt
String key
public java.util.Collection getOptions ()
java.util.List helpOptions ()
public java.util.List getRequiredOptions ()
public org.apache.commons.cli.Option getOption (java.lang.String)
String opt
public java.util.List getMatchingOptions (java.lang.String)
String longOpt
String opt
java.util.List matchingOpts
public boolean hasOption (java.lang.String)
String opt
public boolean hasLongOption (java.lang.String)
String opt
public boolean hasShortOption (java.lang.String)
String opt
public org.apache.commons.cli.OptionGroup getOptionGroup (org.apache.commons.cli.Option)
org.apache.commons.cli.Option opt
public java.lang.String toString ()
StringBuilder buf
}
org/apache/commons/cli/OptionValidator.classOptionValidator.java
package org.apache.commons.cli
final org.apache.commons.cli.OptionValidator extends java.lang.Object {
void ()
static void validateOption (java.lang.String) throws java.lang.IllegalArgumentException
char ch
char ch
String opt
private static boolean isValidOpt (char)
char c
private static boolean isValidChar (char)
char c
}
org/apache/commons/cli/ParseException.classParseException.java
package org.apache.commons.cli
public org.apache.commons.cli.ParseException extends java.lang.Exception {
private static final long serialVersionUID
public void (java.lang.String)
String message
}
org/apache/commons/cli/Parser.classParser.java
package org.apache.commons.cli
public abstract org.apache.commons.cli.Parser extends java.lang.Object implements org.apache.commons.cli.CommandLineParser {
protected org.apache.commons.cli.CommandLine cmd
private org.apache.commons.cli.Options options
private java.util.List requiredOptions
public void ()
protected void setOptions (org.apache.commons.cli.Options)
org.apache.commons.cli.Options options
protected org.apache.commons.cli.Options getOptions ()
protected java.util.List getRequiredOptions ()
protected abstract java.lang.String[] flatten (org.apache.commons.cli.Options, java.lang.String[], boolean) throws org.apache.commons.cli.ParseException
public org.apache.commons.cli.CommandLine parse (org.apache.commons.cli.Options, java.lang.String[]) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.Options options
String[] arguments
public org.apache.commons.cli.CommandLine parse (org.apache.commons.cli.Options, java.lang.String[], java.util.Properties) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.Options options
String[] arguments
java.util.Properties properties
public org.apache.commons.cli.CommandLine parse (org.apache.commons.cli.Options, java.lang.String[], boolean) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.Options options
String[] arguments
boolean stopAtNonOption
public org.apache.commons.cli.CommandLine parse (org.apache.commons.cli.Options, java.lang.String[], java.util.Properties, boolean) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.Option opt
org.apache.commons.cli.OptionGroup group
String str
String t
org.apache.commons.cli.Options options
String[] arguments
java.util.Properties properties
boolean stopAtNonOption
boolean eatTheRest
java.util.List tokenList
java.util.ListIterator iterator
protected void processProperties (java.util.Properties) throws org.apache.commons.cli.ParseException
RuntimeException exp
String value
String option
org.apache.commons.cli.Option opt
org.apache.commons.cli.OptionGroup group
boolean selected
java.util.Enumeration e
java.util.Properties properties
protected void checkRequiredOptions () throws org.apache.commons.cli.MissingOptionException
public void processArgs (org.apache.commons.cli.Option, java.util.ListIterator) throws org.apache.commons.cli.ParseException
RuntimeException exp
String str
org.apache.commons.cli.Option opt
java.util.ListIterator iter
protected void processOption (java.lang.String, java.util.ListIterator) throws org.apache.commons.cli.ParseException
String arg
java.util.ListIterator iter
boolean hasOption
org.apache.commons.cli.Option opt
private void updateRequiredOptions (org.apache.commons.cli.Option) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.OptionGroup group
org.apache.commons.cli.Option opt
}
org/apache/commons/cli/PatternOptionBuilder.classPatternOptionBuilder.java
package org.apache.commons.cli
public org.apache.commons.cli.PatternOptionBuilder extends java.lang.Object {
public static final Class STRING_VALUE
public static final Class OBJECT_VALUE
public static final Class NUMBER_VALUE
public static final Class DATE_VALUE
public static final Class CLASS_VALUE
public static final Class EXISTING_FILE_VALUE
public static final Class FILE_VALUE
public static final Class FILES_VALUE
public static final Class URL_VALUE
public void ()
public static java.lang.Object getValueClass (char)
char ch
public static boolean isValueCode (char)
char ch
public static org.apache.commons.cli.Options parsePattern (java.lang.String)
org.apache.commons.cli.Option option
char ch
int i
org.apache.commons.cli.Option option
String pattern
char opt
boolean required
Class type
org.apache.commons.cli.Options options
static void ()
}
org/apache/commons/cli/PosixParser.classPosixParser.java
package org.apache.commons.cli
public org.apache.commons.cli.PosixParser extends org.apache.commons.cli.Parser {
private final java.util.List tokens
private boolean eatTheRest
private org.apache.commons.cli.Option currentOption
private org.apache.commons.cli.Options options
public void ()
private void init ()
protected java.lang.String[] flatten (org.apache.commons.cli.Options, java.lang.String[], boolean) throws org.apache.commons.cli.ParseException
int pos
String opt
java.util.List matchingOpts
java.util.List matchingOpts
org.apache.commons.cli.Option opt
String token
org.apache.commons.cli.Options options
String[] arguments
boolean stopAtNonOption
java.util.Iterator iter
private void gobble (java.util.Iterator)
java.util.Iterator iter
private void processNonOptionToken (java.lang.String, boolean)
String value
boolean stopAtNonOption
private void processOptionToken (java.lang.String, boolean)
String token
boolean stopAtNonOption
protected void burstToken (java.lang.String, boolean)
String ch
int i
String token
boolean stopAtNonOption
}
org/apache/commons/cli/TypeHandler.classTypeHandler.java
package org.apache.commons.cli
public org.apache.commons.cli.TypeHandler extends java.lang.Object {
public void ()
public static java.lang.Object createValue (java.lang.String, java.lang.Object) throws org.apache.commons.cli.ParseException
String str
Object obj
public static java.lang.Object createValue (java.lang.String, java.lang.Class) throws org.apache.commons.cli.ParseException
String str
Class clazz
public static java.lang.Object createObject (java.lang.String) throws org.apache.commons.cli.ParseException
ClassNotFoundException cnfe
Exception e
String classname
Class cl
Class cl
public static java.lang.Number createNumber (java.lang.String) throws org.apache.commons.cli.ParseException
NumberFormatException e
String str
public static java.lang.Class createClass (java.lang.String) throws org.apache.commons.cli.ParseException
ClassNotFoundException e
String classname
public static java.util.Date createDate (java.lang.String)
String str
public static java.net.URL createURL (java.lang.String) throws org.apache.commons.cli.ParseException
java.net.MalformedURLException e
String str
public static java.io.File createFile (java.lang.String)
String str
public static java.io.File[] createFiles (java.lang.String)
String str
}
org/apache/commons/cli/UnrecognizedOptionException.classUnrecognizedOptionException.java
package org.apache.commons.cli
public org.apache.commons.cli.UnrecognizedOptionException extends org.apache.commons.cli.ParseException {
private static final long serialVersionUID
private String option
public void (java.lang.String)
String message
public void (java.lang.String, java.lang.String)
String message
String option
public java.lang.String getOption ()
}
org/apache/commons/cli/Util.classUtil.java
package org.apache.commons.cli
final org.apache.commons.cli.Util extends java.lang.Object {
void ()
static java.lang.String stripLeadingHyphens (java.lang.String)
String str
static java.lang.String stripLeadingAndTrailingQuotes (java.lang.String)
String str
int length
}
META-INF/maven/
META-INF/maven/commons-cli/
META-INF/maven/commons-cli/commons-cli/
META-INF/maven/commons-cli/commons-cli/pom.xml
META-INF/maven/commons-cli/commons-cli/pom.properties