diff --git a/libs/commons-cli-1.4/apidocs/allclasses-frame.html b/libs/commons-cli-1.4/apidocs/allclasses-frame.html deleted file mode 100755 index 0fafb9c..0000000 --- a/libs/commons-cli-1.4/apidocs/allclasses-frame.html +++ /dev/null @@ -1,40 +0,0 @@ - - - -
- - -Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-public static final String |
-DEFAULT_ARG_NAME |
-"arg" |
-
-
-public static final int |
-DEFAULT_DESC_PAD |
-3 |
-
-
-public static final int |
-DEFAULT_LEFT_PAD |
-1 |
-
-
-public static final String |
-DEFAULT_LONG_OPT_PREFIX |
-"--" |
-
-
-public static final String |
-DEFAULT_LONG_OPT_SEPARATOR |
-" " |
-
-
-public static final String |
-DEFAULT_OPT_PREFIX |
-"-" |
-
-
-public static final String |
-DEFAULT_SYNTAX_PREFIX |
-"usage: " |
-
-
-public static final int |
-DEFAULT_WIDTH |
-74 |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-public static final int |
-UNINITIALIZED |
--1 |
-
-
-public static final int |
-UNLIMITED_VALUES |
--2 |
-
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/deprecated-list.html b/libs/commons-cli-1.4/apidocs/deprecated-list.html deleted file mode 100755 index c0d05b1..0000000 --- a/libs/commons-cli-1.4/apidocs/deprecated-list.html +++ /dev/null @@ -1,265 +0,0 @@ - - - - - - -Class and Description | -
---|
org.apache.commons.cli.BasicParser
- since 1.3, use the
-DefaultParser instead |
-
org.apache.commons.cli.GnuParser
- since 1.3, use the
-DefaultParser instead |
-
org.apache.commons.cli.OptionBuilder
- since 1.3, use
-Option.builder(String) instead |
-
org.apache.commons.cli.Parser
- since 1.3, the two-pass parsing with the flatten method is not enough flexible to handle complex cases
- |
-
org.apache.commons.cli.PosixParser
- since 1.3, use the
-DefaultParser instead |
-
Field and Description | -
---|
org.apache.commons.cli.HelpFormatter.defaultArgName
- Scope will be made private for next major version
- - use get/setArgName methods instead.
- |
-
org.apache.commons.cli.HelpFormatter.defaultDescPad
- Scope will be made private for next major version
- - use get/setDescPadding methods instead.
- |
-
org.apache.commons.cli.HelpFormatter.defaultLeftPad
- Scope will be made private for next major version
- - use get/setLeftPadding methods instead.
- |
-
org.apache.commons.cli.HelpFormatter.defaultLongOptPrefix
- Scope will be made private for next major version
- - use get/setLongOptPrefix methods instead.
- |
-
org.apache.commons.cli.HelpFormatter.defaultNewLine
- Scope will be made private for next major version
- - use get/setNewLine methods instead.
- |
-
org.apache.commons.cli.HelpFormatter.defaultOptPrefix
- Scope will be made private for next major version
- - use get/setOptPrefix methods instead.
- |
-
org.apache.commons.cli.HelpFormatter.defaultSyntaxPrefix
- Scope will be made private for next major version
- - use get/setSyntaxPrefix methods instead.
- |
-
org.apache.commons.cli.HelpFormatter.defaultWidth
- Scope will be made private for next major version
- - use get/setWidth methods instead.
- |
-
Method and Description | -
---|
org.apache.commons.cli.Option.addValue(String) | -
org.apache.commons.cli.CommandLine.getOptionObject(String)
- due to System.err message. Instead use getParsedOptionValue(String)
- |
-
org.apache.commons.cli.Option.setType(Object)
- since 1.3, use
-Option.setType(Class) instead |
-
org.apache.commons.cli.OptionBuilder.withType(Object)
- since 1.3, use
-OptionBuilder.withType(Class) instead |
-
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/help-doc.html b/libs/commons-cli-1.4/apidocs/help-doc.html deleted file mode 100755 index c6a073c..0000000 --- a/libs/commons-cli-1.4/apidocs/help-doc.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - -Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
-Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
-Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
-Each annotation type has its own separate page with the following sections:
-Each enum has its own separate page with the following sections:
-Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
-There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
-The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
-These links take you to the next or previous class, interface, package, or related page.
-These links show and hide the HTML frames. All pages are available with or without frames.
-The All Classes link shows all classes and interfaces except non-static nested types.
-Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
-The Constant Field Values page lists the static final fields and their values.
-Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/index-all.html b/libs/commons-cli-1.4/apidocs/index-all.html deleted file mode 100755 index 1ace2d2..0000000 --- a/libs/commons-cli-1.4/apidocs/index-all.html +++ /dev/null @@ -1,1448 +0,0 @@ - - - - - - -Option
to this group.AlreadySelectedException
- with the specified detail message.AlreadySelectedException
- for the specified option group.DefaultParser
insteadOption.Builder
.Option.Builder
to create an Option
using descriptive
- methods.Option.Builder
to create an Option
using descriptive
- methods.token
into its constituent parts
- using the following algorithm.MissingOptionException
if all of the required options
- are not present.Options
descriptor.CommandLine
instance
- using descriptive methods.CommandLineParser
interface
- can parse a String array according to the Options
specified
- and return a CommandLine
.char
.char
.classname
.str
.str
.str
.len
.str
.Object
of type obj
- with the value of str
.Object
of type clazz
- with the value of str
.startPos
for the
- text in text
with the column width width
.arguments
that have been passed to the parse method.Option
matching the long or short name specified.opt
belongs to.Object
type of this Option
.Option
s.Option
converted to a particular type.null
if there is no value.null
if there is no value.defaultValue
if there is no value.ch
represents.DefaultParser
insteadtoken
into its constituent parts
- using the following algorithm.hasArg
is true.num
argument values.required
- is true.ch
is a value code, i.e.MissingArgumentException
- with the specified detail message.MissingArgumentException
- with the specified detail message.MissingSelectedException
- with the specified detail message.MissingSelectedException
with the
- specified list of missing options.Option
instances
- using descriptive methods.Option.builder(String)
insteadarguments
based
- on the specified Options
.arguments
- based on the specified Options
.ParseException
- with the specified detail message.Options
instance represented by pattern
.DefaultParser
insteadoptions
with the specified
- command line syntax.options
with the specified
- command line syntax.options
with the specified
- command line syntax.options
with the specified
- command line syntax.options
with the specified
- command line syntax.options
with the specified
- command line syntax.options
with the specified
- command line syntax.options
with the specified
- command line syntax.opt
using the values retrieved from the
- specified iterator iter
.arg
using the values
- retrieved from the specified iterator iter
.properties
.name
.Option.setType(Class)
insteadUnrecognizedArgumentException
- with the specified detail message.UnrecognizedArgumentException
- with the specified option and detail message.sep
as a means to
- separate argument values.OptionBuilder.withType(Class)
insteadtype
.sep
as a means to
- separate argument values.=
' as a means to
- separate argument values.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/index.html b/libs/commons-cli-1.4/apidocs/index.html deleted file mode 100755 index 670ee44..0000000 --- a/libs/commons-cli-1.4/apidocs/index.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - -public class AlreadySelectedException -extends ParseException-
Constructor and Description | -
---|
AlreadySelectedException(OptionGroup group,
- Option option)
-Construct a new
-AlreadySelectedException
- for the specified option group. |
-
AlreadySelectedException(String message)
-Construct a new
-AlreadySelectedException
- with the specified detail message. |
-
Modifier and Type | -Method and Description | -
---|---|
Option |
-getOption()
-Returns the option that was added to the group and triggered the exception.
- |
-
OptionGroup |
-getOptionGroup()
-Returns the option group where another option has been selected.
- |
-
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AlreadySelectedException(String message)-
AlreadySelectedException
- with the specified detail message.message
- the detail messagepublic AlreadySelectedException(OptionGroup group, - Option option)-
AlreadySelectedException
- for the specified option group.group
- the option group already selectedoption
- the option that triggered the exceptionpublic OptionGroup getOptionGroup()-
public Option getOption()-
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/AmbiguousOptionException.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/AmbiguousOptionException.html deleted file mode 100755 index 82f4c02..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/AmbiguousOptionException.html +++ /dev/null @@ -1,334 +0,0 @@ - - - - - - -public class AmbiguousOptionException -extends UnrecognizedOptionException-
Constructor and Description | -
---|
AmbiguousOptionException(String option,
- Collection<String> matchingOptions)
-Constructs a new AmbiguousOptionException.
- |
-
Modifier and Type | -Method and Description | -
---|---|
Collection<String> |
-getMatchingOptions()
-Returns the options matching the partial name.
- |
-
getOption
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AmbiguousOptionException(String option, - Collection<String> matchingOptions)-
option
- the partial option namematchingOptions
- the options matching the namepublic Collection<String> getMatchingOptions()-
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/BasicParser.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/BasicParser.html deleted file mode 100755 index 785b888..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/BasicParser.html +++ /dev/null @@ -1,339 +0,0 @@ - - - - - - -DefaultParser
instead@Deprecated -public class BasicParser -extends Parser-
flatten
method.Constructor and Description | -
---|
BasicParser()
-Deprecated.
- |
-
Modifier and Type | -Method and Description | -
---|---|
protected String[] |
-flatten(Options options,
- String[] arguments,
- boolean stopAtNonOption)
-Deprecated.
-
- |
-
checkRequiredOptions, getOptions, getRequiredOptions, parse, parse, parse, parse, processArgs, processOption, processProperties, setOptions
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/CommandLine.Builder.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/CommandLine.Builder.html deleted file mode 100755 index 503513a..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/CommandLine.Builder.html +++ /dev/null @@ -1,324 +0,0 @@ - - - - - - -public static final class CommandLine.Builder -extends Object-
CommandLine
instance
- using descriptive methods.Modifier and Type | -Method and Description | -
---|---|
CommandLine.Builder |
-addArg(String arg)
-Add left-over unrecognized option/argument.
- |
-
CommandLine.Builder |
-addOption(Option opt)
-Add an option to the command line.
- |
-
CommandLine |
-build() |
-
public CommandLine.Builder addOption(Option opt)-
opt
- the processed optionpublic CommandLine.Builder addArg(String arg)-
arg
- the unrecognized option/argument.public CommandLine build()-
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/CommandLine.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/CommandLine.html deleted file mode 100755 index 1981b83..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/CommandLine.html +++ /dev/null @@ -1,721 +0,0 @@ - - - - - - -public class CommandLine -extends Object -implements Serializable-
Options
descriptor.
-
- It allows querying of a boolean hasOption(String opt)
,
- in addition to retrieving the getOptionValue(String opt)
- for options requiring arguments.
-
- Additionally, any left-over or unrecognized arguments, - are available for further processing.
Modifier and Type | -Class and Description | -
---|---|
static class |
-CommandLine.Builder
-A nested builder class to create
-CommandLine instance
- using descriptive methods. |
-
Modifier | -Constructor and Description | -
---|---|
protected |
-CommandLine()
-Creates a command line.
- |
-
Modifier and Type | -Method and Description | -
---|---|
protected void |
-addArg(String arg)
-Add left-over unrecognized option/argument.
- |
-
protected void |
-addOption(Option opt)
-Add an option to the command line.
- |
-
List<String> |
-getArgList()
-Retrieve any left-over non-recognized options and arguments
- |
-
String[] |
-getArgs()
-Retrieve any left-over non-recognized options and arguments
- |
-
Object |
-getOptionObject(char opt)
-Return the
-Object type of this Option . |
-
Object |
-getOptionObject(String opt)
-Deprecated.
-
-due to System.err message. Instead use getParsedOptionValue(String)
- |
-
Properties |
-getOptionProperties(String opt)
-Retrieve the map of values associated to the option.
- |
-
Option[] |
-getOptions()
-Returns an array of the processed
-Option s. |
-
String |
-getOptionValue(char opt)
-Retrieve the first argument, if any, of this option.
- |
-
String |
-getOptionValue(char opt,
- String defaultValue)
-Retrieve the argument, if any, of an option.
- |
-
String |
-getOptionValue(String opt)
-Retrieve the first argument, if any, of this option.
- |
-
String |
-getOptionValue(String opt,
- String defaultValue)
-Retrieve the first argument, if any, of an option.
- |
-
String[] |
-getOptionValues(char opt)
-Retrieves the array of values, if any, of an option.
- |
-
String[] |
-getOptionValues(String opt)
-Retrieves the array of values, if any, of an option.
- |
-
Object |
-getParsedOptionValue(String opt)
-Return a version of this
-Option converted to a particular type. |
-
boolean |
-hasOption(char opt)
-Query to see if an option has been set.
- |
-
boolean |
-hasOption(String opt)
-Query to see if an option has been set.
- |
-
Iterator<Option> |
-iterator()
-Returns an iterator over the Option members of CommandLine.
- |
-
protected CommandLine()-
public boolean hasOption(String opt)-
opt
- Short name of the optionpublic boolean hasOption(char opt)-
opt
- character name of the option@Deprecated -public Object getOptionObject(String opt)-
Object
type of this Option
.opt
- the name of the optionOption
public Object getParsedOptionValue(String opt) - throws ParseException-
Option
converted to a particular type.opt
- the name of the optionParseException
- if there are problems turning the option value into the desired typePatternOptionBuilder
public Object getOptionObject(char opt)-
Object
type of this Option
.opt
- the name of the optionpublic String getOptionValue(String opt)-
opt
- the name of the optionpublic String getOptionValue(char opt)-
opt
- the character name of the optionpublic String[] getOptionValues(String opt)-
opt
- string name of the optionpublic String[] getOptionValues(char opt)-
opt
- character name of the optionpublic String getOptionValue(String opt, - String defaultValue)-
opt
- name of the optiondefaultValue
- is the default value to be returned if the option
- is not specifieddefaultValue
.public String getOptionValue(char opt, - String defaultValue)-
opt
- character name of the optiondefaultValue
- is the default value to be returned if the option
- is not specifieddefaultValue
.public Properties getOptionProperties(String opt)-
opt
- name of the optionpublic String[] getArgs()-
public List<String> getArgList()-
List
.protected void addArg(String arg)-
arg
- the unrecognized option/argument.protected void addOption(Option opt)-
opt
- the processed optionpublic Iterator<Option> iterator()-
Iterator
over the processed Option
- members of this CommandLine
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/CommandLineParser.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/CommandLineParser.html deleted file mode 100755 index c1552db..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/CommandLineParser.html +++ /dev/null @@ -1,282 +0,0 @@ - - - - - - -public interface CommandLineParser
-CommandLineParser
interface
- can parse a String array according to the Options
specified
- and return a CommandLine
.Modifier and Type | -Method and Description | -
---|---|
CommandLine |
-parse(Options options,
- String[] arguments)
-Parse the arguments according to the specified options.
- |
-
CommandLine |
-parse(Options options,
- String[] arguments,
- boolean stopAtNonOption)
-Parse the arguments according to the specified options.
- |
-
CommandLine parse(Options options, - String[] arguments) - throws ParseException-
options
- the specified Optionsarguments
- the command line argumentsParseException
- if there are any problems encountered
- while parsing the command line tokens.CommandLine parse(Options options, - String[] arguments, - boolean stopAtNonOption) - throws ParseException-
options
- the specified Optionsarguments
- the command line argumentsstopAtNonOption
- if true an unrecognized argument stops
- the parsing and the remaining arguments are added to the
- CommandLine
s args list. If false an unrecognized
- argument triggers a ParseException.ParseException
- if there are any problems encountered
- while parsing the command line tokens.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/DefaultParser.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/DefaultParser.html deleted file mode 100755 index 0610926..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/DefaultParser.html +++ /dev/null @@ -1,591 +0,0 @@ - - - - - - -public class DefaultParser -extends Object -implements CommandLineParser-
Modifier and Type | -Field and Description | -
---|---|
protected CommandLine |
-cmd
-The command-line instance.
- |
-
protected Option |
-currentOption
-The last option parsed.
- |
-
protected String |
-currentToken
-The token currently processed.
- |
-
protected List |
-expectedOpts
-The required options and groups expected to be found when parsing the command line.
- |
-
protected Options |
-options
-The current options.
- |
-
protected boolean |
-skipParsing
-Flag indicating if tokens should no longer be analyzed and simply added as arguments of the command line.
- |
-
protected boolean |
-stopAtNonOption
-Flag indicating how unrecognized tokens are handled.
- |
-
Constructor and Description | -
---|
DefaultParser() |
-
Modifier and Type | -Method and Description | -
---|---|
protected void |
-handleConcatenatedOptions(String token)
-Breaks
-token into its constituent parts
- using the following algorithm. |
-
CommandLine |
-parse(Options options,
- String[] arguments)
-Parse the arguments according to the specified options.
- |
-
CommandLine |
-parse(Options options,
- String[] arguments,
- boolean stopAtNonOption)
-Parse the arguments according to the specified options.
- |
-
CommandLine |
-parse(Options options,
- String[] arguments,
- Properties properties)
-Parse the arguments according to the specified options and properties.
- |
-
CommandLine |
-parse(Options options,
- String[] arguments,
- Properties properties,
- boolean stopAtNonOption)
-Parse the arguments according to the specified options and properties.
- |
-
protected CommandLine cmd-
protected Options options-
protected boolean stopAtNonOption-
protected String currentToken-
protected Option currentOption-
protected boolean skipParsing-
protected List expectedOpts-
public CommandLine parse(Options options, - String[] arguments) - throws ParseException-
CommandLineParser
parse
in interface CommandLineParser
options
- the specified Optionsarguments
- the command line argumentsParseException
- if there are any problems encountered
- while parsing the command line tokens.public CommandLine parse(Options options, - String[] arguments, - Properties properties) - throws ParseException-
options
- the specified Optionsarguments
- the command line argumentsproperties
- command line option name-value pairsParseException
- if there are any problems encountered
- while parsing the command line tokens.public CommandLine parse(Options options, - String[] arguments, - boolean stopAtNonOption) - throws ParseException-
CommandLineParser
parse
in interface CommandLineParser
options
- the specified Optionsarguments
- the command line argumentsstopAtNonOption
- if true an unrecognized argument stops
- the parsing and the remaining arguments are added to the
- CommandLine
s args list. If false an unrecognized
- argument triggers a ParseException.ParseException
- if there are any problems encountered
- while parsing the command line tokens.public CommandLine parse(Options options, - String[] arguments, - Properties properties, - boolean stopAtNonOption) - throws ParseException-
options
- the specified Optionsarguments
- the command line argumentsproperties
- command line option name-value pairsstopAtNonOption
- if true an unrecognized argument stops
- the parsing and the remaining arguments are added to the
- CommandLine
s args list. If false an unrecognized
- argument triggers a ParseException.ParseException
- if there are any problems encountered
- while parsing the command line tokens.protected void handleConcatenatedOptions(String token) - throws ParseException-
token
into its constituent parts
- using the following algorithm.
-
- Option
- exists with that id.Option
does exist then add that character
- prepended with "-" to the list of processed tokens.Option
can have an argument value and there
- are remaining characters in the token then add the remaining
- characters as a token to the list of processed tokens.Option
does NOT exist AND
- stopAtNonOption
IS set then add the special token
- "--" followed by the remaining characters and also
- the remaining tokens directly to the processed tokens list.Option
does NOT exist AND
- stopAtNonOption
IS NOT set then add that
- character prepended with "-".token
- The current token to be burst
- at the first non-Option encountered.ParseException
- if there are any problems encountered
- while parsing the command line token.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/GnuParser.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/GnuParser.html deleted file mode 100755 index 70b6338..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/GnuParser.html +++ /dev/null @@ -1,348 +0,0 @@ - - - - - - -DefaultParser
instead@Deprecated -public class GnuParser -extends Parser-
flatten
method.Constructor and Description | -
---|
GnuParser()
-Deprecated.
- |
-
Modifier and Type | -Method and Description | -
---|---|
protected String[] |
-flatten(Options options,
- String[] arguments,
- boolean stopAtNonOption)
-Deprecated.
-
- |
-
checkRequiredOptions, getOptions, getRequiredOptions, parse, parse, parse, parse, processArgs, processOption, processProperties, setOptions
protected String[] flatten(Options options, - String[] arguments, - boolean stopAtNonOption)-
Option
exists for the first character of
- the arguments
entry AND an Option
- does not exist for the whole argument
then
- add the first character as an option to the processed tokens
- list e.g. "-D" and add the rest of the entry to the also.flatten
in class Parser
options
- The Options to parse the arguments by.arguments
- The arguments that have to be flattened.stopAtNonOption
- specifies whether to stop flattening when
- a non option has been encounteredCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/HelpFormatter.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/HelpFormatter.html deleted file mode 100755 index 2f8b1e2..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/HelpFormatter.html +++ /dev/null @@ -1,1685 +0,0 @@ - - - - - - -public class HelpFormatter -extends Object-
Example:
- -- Options options = new Options(); - options.addOption(OptionBuilder.withLongOpt("file") - .withDescription("The file to be processed") - .hasArg() - .withArgName("FILE") - .isRequired() - .create('f')); - options.addOption(OptionBuilder.withLongOpt("version") - .withDescription("Print the version of the application") - .create('v')); - options.addOption(OptionBuilder.withLongOpt("help").create('h')); - - String header = "Do something useful with an input file\n\n"; - String footer = "\nPlease report issues at http://example.com/issues"; - - HelpFormatter formatter = new HelpFormatter(); - formatter.printHelp("myapp", header, options, footer, true); -- - This produces the following output: - -
- usage: myapp -f <FILE> [-h] [-v] - Do something useful with an input file - - -f,--file <FILE> The file to be processed - -h,--help - -v,--version Print the version of the application - - Please report issues at http://example.com/issues -
Modifier and Type | -Field and Description | -
---|---|
static String |
-DEFAULT_ARG_NAME
-default name for an argument
- |
-
static int |
-DEFAULT_DESC_PAD
-number of space characters to be prefixed to each description line
- |
-
static int |
-DEFAULT_LEFT_PAD
-default padding to the left of each line
- |
-
static String |
-DEFAULT_LONG_OPT_PREFIX
-default prefix for long Option
- |
-
static String |
-DEFAULT_LONG_OPT_SEPARATOR
-default separator displayed between a long Option and its value
- |
-
static String |
-DEFAULT_OPT_PREFIX
-default prefix for shortOpts
- |
-
static String |
-DEFAULT_SYNTAX_PREFIX
-the string to display at the beginning of the usage statement
- |
-
static int |
-DEFAULT_WIDTH
-default number of characters per line
- |
-
String |
-defaultArgName
-Deprecated.
-
-Scope will be made private for next major version
- - use get/setArgName methods instead.
- |
-
int |
-defaultDescPad
-Deprecated.
-
-Scope will be made private for next major version
- - use get/setDescPadding methods instead.
- |
-
int |
-defaultLeftPad
-Deprecated.
-
-Scope will be made private for next major version
- - use get/setLeftPadding methods instead.
- |
-
String |
-defaultLongOptPrefix
-Deprecated.
-
-Scope will be made private for next major version
- - use get/setLongOptPrefix methods instead.
- |
-
String |
-defaultNewLine
-Deprecated.
-
-Scope will be made private for next major version
- - use get/setNewLine methods instead.
- |
-
String |
-defaultOptPrefix
-Deprecated.
-
-Scope will be made private for next major version
- - use get/setOptPrefix methods instead.
- |
-
String |
-defaultSyntaxPrefix
-Deprecated.
-
-Scope will be made private for next major version
- - use get/setSyntaxPrefix methods instead.
- |
-
int |
-defaultWidth
-Deprecated.
-
-Scope will be made private for next major version
- - use get/setWidth methods instead.
- |
-
protected Comparator<Option> |
-optionComparator
-Comparator used to sort the options when they output in help text
-
- Defaults to case-insensitive alphabetical sorting by option key
- |
-
Constructor and Description | -
---|
HelpFormatter() |
-
Modifier and Type | -Method and Description | -
---|---|
protected String |
-createPadding(int len)
-Return a String of padding of length
-len . |
-
protected int |
-findWrapPos(String text,
- int width,
- int startPos)
-Finds the next text wrap position after
-startPos for the
- text in text with the column width width . |
-
String |
-getArgName()
-Returns the 'argName'.
- |
-
int |
-getDescPadding()
-Returns the 'descPadding'.
- |
-
int |
-getLeftPadding()
-Returns the 'leftPadding'.
- |
-
String |
-getLongOptPrefix()
-Returns the 'longOptPrefix'.
- |
-
String |
-getLongOptSeparator()
-Returns the separator displayed between a long option and its value.
- |
-
String |
-getNewLine()
-Returns the 'newLine'.
- |
-
Comparator<Option> |
-getOptionComparator()
-Comparator used to sort the options when they output in help text.
- |
-
String |
-getOptPrefix()
-Returns the 'optPrefix'.
- |
-
String |
-getSyntaxPrefix()
-Returns the 'syntaxPrefix'.
- |
-
int |
-getWidth()
-Returns the 'width'.
- |
-
void |
-printHelp(int width,
- String cmdLineSyntax,
- String header,
- Options options,
- String footer)
-Print the help for
-options with the specified
- command line syntax. |
-
void |
-printHelp(int width,
- String cmdLineSyntax,
- String header,
- Options options,
- String footer,
- boolean autoUsage)
-Print the help for
-options with the specified
- command line syntax. |
-
void |
-printHelp(PrintWriter pw,
- int width,
- String cmdLineSyntax,
- String header,
- Options options,
- int leftPad,
- int descPad,
- String footer)
-Print the help for
-options with the specified
- command line syntax. |
-
void |
-printHelp(PrintWriter pw,
- int width,
- String cmdLineSyntax,
- String header,
- Options options,
- int leftPad,
- int descPad,
- String footer,
- boolean autoUsage)
-Print the help for
-options with the specified
- command line syntax. |
-
void |
-printHelp(String cmdLineSyntax,
- Options options)
-Print the help for
-options with the specified
- command line syntax. |
-
void |
-printHelp(String cmdLineSyntax,
- Options options,
- boolean autoUsage)
-Print the help for
-options with the specified
- command line syntax. |
-
void |
-printHelp(String cmdLineSyntax,
- String header,
- Options options,
- String footer)
-Print the help for
-options with the specified
- command line syntax. |
-
void |
-printHelp(String cmdLineSyntax,
- String header,
- Options options,
- String footer,
- boolean autoUsage)
-Print the help for
-options with the specified
- command line syntax. |
-
void |
-printOptions(PrintWriter pw,
- int width,
- Options options,
- int leftPad,
- int descPad)
-Print the help for the specified Options to the specified writer,
- using the specified width, left padding and description padding.
- |
-
void |
-printUsage(PrintWriter pw,
- int width,
- String cmdLineSyntax)
-Print the cmdLineSyntax to the specified writer, using the
- specified width.
- |
-
void |
-printUsage(PrintWriter pw,
- int width,
- String app,
- Options options)
-Prints the usage statement for the specified application.
- |
-
void |
-printWrapped(PrintWriter pw,
- int width,
- int nextLineTabStop,
- String text)
-Print the specified text to the specified PrintWriter.
- |
-
void |
-printWrapped(PrintWriter pw,
- int width,
- String text)
-Print the specified text to the specified PrintWriter.
- |
-
protected StringBuffer |
-renderOptions(StringBuffer sb,
- int width,
- Options options,
- int leftPad,
- int descPad)
-Render the specified Options and return the rendered Options
- in a StringBuffer.
- |
-
protected StringBuffer |
-renderWrappedText(StringBuffer sb,
- int width,
- int nextLineTabStop,
- String text)
-Render the specified text and return the rendered Options
- in a StringBuffer.
- |
-
protected String |
-rtrim(String s)
-Remove the trailing whitespace from the specified String.
- |
-
void |
-setArgName(String name)
-Sets the 'argName'.
- |
-
void |
-setDescPadding(int padding)
-Sets the 'descPadding'.
- |
-
void |
-setLeftPadding(int padding)
-Sets the 'leftPadding'.
- |
-
void |
-setLongOptPrefix(String prefix)
-Sets the 'longOptPrefix'.
- |
-
void |
-setLongOptSeparator(String longOptSeparator)
-Set the separator displayed between a long option and its value.
- |
-
void |
-setNewLine(String newline)
-Sets the 'newLine'.
- |
-
void |
-setOptionComparator(Comparator<Option> comparator)
-Set the comparator used to sort the options when they output in help text.
- |
-
void |
-setOptPrefix(String prefix)
-Sets the 'optPrefix'.
- |
-
void |
-setSyntaxPrefix(String prefix)
-Sets the 'syntaxPrefix'.
- |
-
void |
-setWidth(int width)
-Sets the 'width'.
- |
-
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-
@Deprecated -public int defaultWidth-
@Deprecated -public int defaultLeftPad-
@Deprecated -public int defaultDescPad-
@Deprecated -public String defaultSyntaxPrefix-
@Deprecated -public String defaultNewLine-
@Deprecated -public String defaultOptPrefix-
@Deprecated -public String defaultLongOptPrefix-
@Deprecated -public String defaultArgName-
protected Comparator<Option> optionComparator-
public void setWidth(int width)-
width
- the new value of 'width'public int getWidth()-
public void setLeftPadding(int padding)-
padding
- the new value of 'leftPadding'public int getLeftPadding()-
public void setDescPadding(int padding)-
padding
- the new value of 'descPadding'public int getDescPadding()-
public void setSyntaxPrefix(String prefix)-
prefix
- the new value of 'syntaxPrefix'public String getSyntaxPrefix()-
public void setNewLine(String newline)-
newline
- the new value of 'newLine'public String getNewLine()-
public void setOptPrefix(String prefix)-
prefix
- the new value of 'optPrefix'public String getOptPrefix()-
public void setLongOptPrefix(String prefix)-
prefix
- the new value of 'longOptPrefix'public String getLongOptPrefix()-
public void setLongOptSeparator(String longOptSeparator)-
longOptSeparator
- the separator, typically ' ' or '='.public String getLongOptSeparator()-
public void setArgName(String name)-
name
- the new value of 'argName'public String getArgName()-
public Comparator<Option> getOptionComparator()-
Comparator
currently in use to sort the optionspublic void setOptionComparator(Comparator<Option> comparator)-
comparator
- the Comparator
to use for sorting the optionspublic void printHelp(String cmdLineSyntax, - Options options)-
options
with the specified
- command line syntax. This method prints help information to
- System.out.cmdLineSyntax
- the syntax for this applicationoptions
- the Options instancepublic void printHelp(String cmdLineSyntax, - Options options, - boolean autoUsage)-
options
with the specified
- command line syntax. This method prints help information to
- System.out.cmdLineSyntax
- the syntax for this applicationoptions
- the Options instanceautoUsage
- whether to print an automatically generated
- usage statementpublic void printHelp(String cmdLineSyntax, - String header, - Options options, - String footer)-
options
with the specified
- command line syntax. This method prints help information to
- System.out.cmdLineSyntax
- the syntax for this applicationheader
- the banner to display at the beginning of the helpoptions
- the Options instancefooter
- the banner to display at the end of the helppublic void printHelp(String cmdLineSyntax, - String header, - Options options, - String footer, - boolean autoUsage)-
options
with the specified
- command line syntax. This method prints help information to
- System.out.cmdLineSyntax
- the syntax for this applicationheader
- the banner to display at the beginning of the helpoptions
- the Options instancefooter
- the banner to display at the end of the helpautoUsage
- whether to print an automatically generated
- usage statementpublic void printHelp(int width, - String cmdLineSyntax, - String header, - Options options, - String footer)-
options
with the specified
- command line syntax. This method prints help information to
- System.out.width
- the number of characters to be displayed on each linecmdLineSyntax
- the syntax for this applicationheader
- the banner to display at the beginning of the helpoptions
- the Options instancefooter
- the banner to display at the end of the helppublic void printHelp(int width, - String cmdLineSyntax, - String header, - Options options, - String footer, - boolean autoUsage)-
options
with the specified
- command line syntax. This method prints help information to
- System.out.width
- the number of characters to be displayed on each linecmdLineSyntax
- the syntax for this applicationheader
- the banner to display at the beginning of the helpoptions
- the Options instancefooter
- the banner to display at the end of the helpautoUsage
- whether to print an automatically generated
- usage statementpublic void printHelp(PrintWriter pw, - int width, - String cmdLineSyntax, - String header, - Options options, - int leftPad, - int descPad, - String footer)-
options
with the specified
- command line syntax.pw
- the writer to which the help will be writtenwidth
- the number of characters to be displayed on each linecmdLineSyntax
- the syntax for this applicationheader
- the banner to display at the beginning of the helpoptions
- the Options instanceleftPad
- the number of characters of padding to be prefixed
- to each linedescPad
- the number of characters of padding to be prefixed
- to each description linefooter
- the banner to display at the end of the helpIllegalStateException
- if there is no room to print a linepublic void printHelp(PrintWriter pw, - int width, - String cmdLineSyntax, - String header, - Options options, - int leftPad, - int descPad, - String footer, - boolean autoUsage)-
options
with the specified
- command line syntax.pw
- the writer to which the help will be writtenwidth
- the number of characters to be displayed on each linecmdLineSyntax
- the syntax for this applicationheader
- the banner to display at the beginning of the helpoptions
- the Options instanceleftPad
- the number of characters of padding to be prefixed
- to each linedescPad
- the number of characters of padding to be prefixed
- to each description linefooter
- the banner to display at the end of the helpautoUsage
- whether to print an automatically generated
- usage statementIllegalStateException
- if there is no room to print a linepublic void printUsage(PrintWriter pw, - int width, - String app, - Options options)-
pw
- The PrintWriter to print the usage statementwidth
- The number of characters to display per lineapp
- The application nameoptions
- The command line Optionspublic void printUsage(PrintWriter pw, - int width, - String cmdLineSyntax)-
pw
- The printWriter to write the help towidth
- The number of characters per line for the usage statement.cmdLineSyntax
- The usage statement.public void printOptions(PrintWriter pw, - int width, - Options options, - int leftPad, - int descPad)-
pw
- The printWriter to write the help towidth
- The number of characters to display per lineoptions
- The command line OptionsleftPad
- the number of characters of padding to be prefixed
- to each linedescPad
- the number of characters of padding to be prefixed
- to each description linepublic void printWrapped(PrintWriter pw, - int width, - String text)-
pw
- The printWriter to write the help towidth
- The number of characters to display per linetext
- The text to be written to the PrintWriterpublic void printWrapped(PrintWriter pw, - int width, - int nextLineTabStop, - String text)-
pw
- The printWriter to write the help towidth
- The number of characters to display per linenextLineTabStop
- The position on the next line for the first tab.text
- The text to be written to the PrintWriterprotected StringBuffer renderOptions(StringBuffer sb, - int width, - Options options, - int leftPad, - int descPad)-
sb
- The StringBuffer to place the rendered Options into.width
- The number of characters to display per lineoptions
- The command line OptionsleftPad
- the number of characters of padding to be prefixed
- to each linedescPad
- the number of characters of padding to be prefixed
- to each description lineprotected StringBuffer renderWrappedText(StringBuffer sb, - int width, - int nextLineTabStop, - String text)-
sb
- The StringBuffer to place the rendered text into.width
- The number of characters to display per linenextLineTabStop
- The position on the next line for the first tab.text
- The text to be rendered.protected int findWrapPos(String text, - int width, - int startPos)-
startPos
for the
- text in text
with the column width width
.
- The wrap point is the last position before startPos+width having a
- whitespace character (space, \n, \r). If there is no whitespace character
- before startPos+width, it will return startPos+width.text
- The text being searched for the wrap positionwidth
- width of the wrapped textstartPos
- position from which to start the lookup whitespace
- characterprotected String createPadding(int len)-
len
.len
- The length of the String of padding to create.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/MissingArgumentException.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/MissingArgumentException.html deleted file mode 100755 index b420e12..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/MissingArgumentException.html +++ /dev/null @@ -1,347 +0,0 @@ - - - - - - -public class MissingArgumentException -extends ParseException-
Constructor and Description | -
---|
MissingArgumentException(Option option)
-Construct a new
-MissingArgumentException
- with the specified detail message. |
-
MissingArgumentException(String message)
-Construct a new
-MissingArgumentException
- with the specified detail message. |
-
Modifier and Type | -Method and Description | -
---|---|
Option |
-getOption()
-Return the option requiring an argument that wasn't provided
- on the command line.
- |
-
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MissingArgumentException(String message)-
MissingArgumentException
- with the specified detail message.message
- the detail messagepublic MissingArgumentException(Option option)-
MissingArgumentException
- with the specified detail message.option
- the option requiring an argumentCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/MissingOptionException.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/MissingOptionException.html deleted file mode 100755 index efef673..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/MissingOptionException.html +++ /dev/null @@ -1,345 +0,0 @@ - - - - - - -public class MissingOptionException -extends ParseException-
Constructor and Description | -
---|
MissingOptionException(List missingOptions)
-Constructs a new
-MissingSelectedException with the
- specified list of missing options. |
-
MissingOptionException(String message)
-Construct a new
-MissingSelectedException
- with the specified detail message. |
-
Modifier and Type | -Method and Description | -
---|---|
List |
-getMissingOptions()
-Returns the list of options or option groups missing in the command line parsed.
- |
-
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MissingOptionException(String message)-
MissingSelectedException
- with the specified detail message.message
- the detail messagepublic MissingOptionException(List missingOptions)-
MissingSelectedException
with the
- specified list of missing options.missingOptions
- the list of missing options and groupspublic List getMissingOptions()-
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/Option.Builder.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/Option.Builder.html deleted file mode 100755 index 6c70d92..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/Option.Builder.html +++ /dev/null @@ -1,558 +0,0 @@ - - - - - - -public static final class Option.Builder -extends Object-
Option
instances
- using descriptive methods.
- - Example usage: -
- Option option = Option.builder("a") - .required(true) - .longOpt("arg-name") - .build(); -
Modifier and Type | -Method and Description | -
---|---|
Option.Builder |
-argName(String argName)
-Sets the display name for the argument value.
- |
-
Option |
-build()
-Constructs an Option with the values declared by this
-Option.Builder . |
-
Option.Builder |
-desc(String description)
-Sets the description for this option.
- |
-
Option.Builder |
-hasArg()
-Indicates that the Option will require an argument.
- |
-
Option.Builder |
-hasArg(boolean hasArg)
-Indicates if the Option has an argument or not.
- |
-
Option.Builder |
-hasArgs()
-Indicates that the Option can have unlimited argument values.
- |
-
Option.Builder |
-longOpt(String longOpt)
-Sets the long name of the Option.
- |
-
Option.Builder |
-numberOfArgs(int numberOfArgs)
-Sets the number of argument values the Option can take.
- |
-
Option.Builder |
-optionalArg(boolean isOptional)
-Sets whether the Option can have an optional argument.
- |
-
Option.Builder |
-required()
-Marks this Option as required.
- |
-
Option.Builder |
-required(boolean required)
-Sets whether the Option is mandatory.
- |
-
Option.Builder |
-type(Class<?> type)
-Sets the type of the Option.
- |
-
Option.Builder |
-valueSeparator()
-The Option will use '=' as a means to separate argument value.
- |
-
Option.Builder |
-valueSeparator(char sep)
-The Option will use
-sep as a means to
- separate argument values. |
-
public Option.Builder argName(String argName)-
argName
- the display name for the argument value.public Option.Builder desc(String description)-
description
- the description of the option.public Option.Builder longOpt(String longOpt)-
longOpt
- the long name of the Optionpublic Option.Builder numberOfArgs(int numberOfArgs)-
numberOfArgs
- the number of argument valuespublic Option.Builder optionalArg(boolean isOptional)-
isOptional
- specifies whether the Option can have
- an optional argument.public Option.Builder required()-
public Option.Builder required(boolean required)-
required
- specifies whether the Option is mandatorypublic Option.Builder type(Class<?> type)-
type
- the type of the Optionpublic Option.Builder valueSeparator()-
public Option.Builder valueSeparator(char sep)-
sep
as a means to
- separate argument values.
- - Example: -
- Option opt = Option.builder("D").hasArgs() - .valueSeparator('=') - .build(); - Options options = new Options(); - options.addOption(opt); - String[] args = {"-Dkey=value"}; - CommandLineParser parser = new DefaultParser(); - CommandLine line = parser.parse(options, args); - String propertyName = line.getOptionValues("D")[0]; // will be "key" - String propertyValue = line.getOptionValues("D")[1]; // will be "value" -
sep
- The value separator.public Option.Builder hasArg()-
public Option.Builder hasArg(boolean hasArg)-
hasArg
- specifies whether the Option takes an argument or notpublic Option.Builder hasArgs()-
public Option build()-
Option.Builder
.Option
IllegalArgumentException
- if neither opt
or longOpt
has been setCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/Option.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/Option.html deleted file mode 100755 index 2c832fc..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/Option.html +++ /dev/null @@ -1,1237 +0,0 @@ - - - - - - -public class Option -extends Object -implements Cloneable, Serializable-
- An Option is not created independently, but is created through
- an instance of Options
. An Option is required to have
- at least a short or a long-name.
-
- Note: once an Option
has been added to an instance
- of Options
, it's required flag may not be changed anymore.
Options
,
-CommandLine
,
-Serialized FormModifier and Type | -Class and Description | -
---|---|
static class |
-Option.Builder
-A nested builder class to create
-Option instances
- using descriptive methods. |
-
Modifier and Type | -Field and Description | -
---|---|
static int |
-UNINITIALIZED
-constant that specifies the number of argument values has not been specified
- |
-
static int |
-UNLIMITED_VALUES
-constant that specifies the number of argument values is infinite
- |
-
Constructor and Description | -
---|
Option(String opt,
- boolean hasArg,
- String description)
-Creates an Option using the specified parameters.
- |
-
Option(String opt,
- String description)
-Creates an Option using the specified parameters.
- |
-
Option(String opt,
- String longOpt,
- boolean hasArg,
- String description)
-Creates an Option using the specified parameters.
- |
-
Modifier and Type | -Method and Description | -
---|---|
boolean |
-addValue(String value)
-Deprecated.
- |
-
static Option.Builder |
-builder()
-Returns a
-Option.Builder to create an Option using descriptive
- methods. |
-
static Option.Builder |
-builder(String opt)
-Returns a
-Option.Builder to create an Option using descriptive
- methods. |
-
Object |
-clone()
-A rather odd clone method - due to incorrect code in 1.0 it is public
- and in 1.1 rather than throwing a CloneNotSupportedException it throws
- a RuntimeException so as to maintain backwards compat at the API level.
- |
-
boolean |
-equals(Object o) |
-
String |
-getArgName()
-Gets the display name for the argument value.
- |
-
int |
-getArgs()
-Returns the number of argument values this Option can take.
- |
-
String |
-getDescription()
-Retrieve the self-documenting description of this Option
- |
-
int |
-getId()
-Returns the id of this Option.
- |
-
String |
-getLongOpt()
-Retrieve the long name of this Option.
- |
-
String |
-getOpt()
-Retrieve the name of this Option.
- |
-
Object |
-getType()
-Retrieve the type of this Option.
- |
-
String |
-getValue()
-Returns the specified value of this Option or
-
-null if there is no value. |
-
String |
-getValue(int index)
-Returns the specified value of this Option or
-
-null if there is no value. |
-
String |
-getValue(String defaultValue)
-Returns the value/first value of this Option or the
-
-defaultValue if there is no value. |
-
String[] |
-getValues()
-Return the values of this Option as a String array
- or null if there are no values
- |
-
char |
-getValueSeparator()
-Returns the value separator character.
- |
-
List<String> |
-getValuesList() |
-
boolean |
-hasArg()
-Query to see if this Option requires an argument
- |
-
boolean |
-hasArgName()
-Returns whether the display name for the argument value has been set.
- |
-
boolean |
-hasArgs()
-Query to see if this Option can take many values.
- |
-
int |
-hashCode() |
-
boolean |
-hasLongOpt()
-Query to see if this Option has a long name
- |
-
boolean |
-hasOptionalArg() |
-
boolean |
-hasValueSeparator()
-Return whether this Option has specified a value separator.
- |
-
boolean |
-isRequired()
-Query to see if this Option is mandatory
- |
-
void |
-setArgName(String argName)
-Sets the display name for the argument value.
- |
-
void |
-setArgs(int num)
-Sets the number of argument values this Option can take.
- |
-
void |
-setDescription(String description)
-Sets the self-documenting description of this Option
- |
-
void |
-setLongOpt(String longOpt)
-Sets the long name of this Option.
- |
-
void |
-setOptionalArg(boolean optionalArg)
-Sets whether this Option can have an optional argument.
- |
-
void |
-setRequired(boolean required)
-Sets whether this Option is mandatory.
- |
-
void |
-setType(Class<?> type)
-Sets the type of this Option.
- |
-
void |
-setType(Object type)
-Deprecated.
-
-since 1.3, use
-setType(Class) instead |
-
void |
-setValueSeparator(char sep)
-Sets the value separator.
- |
-
String |
-toString()
-Dump state, suitable for debugging.
- |
-
public static final int UNINITIALIZED-
public static final int UNLIMITED_VALUES-
public Option(String opt, - String description) - throws IllegalArgumentException-
opt
- short representation of the optiondescription
- describes the function of the optionIllegalArgumentException
- if there are any non valid
- Option characters in opt
.public Option(String opt, - boolean hasArg, - String description) - throws IllegalArgumentException-
opt
- short representation of the optionhasArg
- specifies whether the Option takes an argument or notdescription
- describes the function of the optionIllegalArgumentException
- if there are any non valid
- Option characters in opt
.public Option(String opt, - String longOpt, - boolean hasArg, - String description) - throws IllegalArgumentException-
opt
- short representation of the optionlongOpt
- the long representation of the optionhasArg
- specifies whether the Option takes an argument or notdescription
- describes the function of the optionIllegalArgumentException
- if there are any non valid
- Option characters in opt
.public int getId()-
public String getOpt()-
CommandLine.hasOption(String opt)
and
- CommandLine.getOptionValue(String opt)
to check
- for existence and argument.public Object getType()-
@Deprecated -public void setType(Object type)-
setType(Class)
instead
- Note: this method is kept for binary compatibility and the
- input type is supposed to be a Class
object.
type
- the type of this Optionpublic void setType(Class<?> type)-
type
- the type of this Optionpublic String getLongOpt()-
public void setLongOpt(String longOpt)-
longOpt
- the long name of this Optionpublic void setOptionalArg(boolean optionalArg)-
optionalArg
- specifies whether the Option can have
- an optional argument.public boolean hasOptionalArg()-
public boolean hasLongOpt()-
public boolean hasArg()-
public String getDescription()-
public void setDescription(String description)-
description
- The description of this optionpublic boolean isRequired()-
public void setRequired(boolean required)-
required
- specifies whether this Option is mandatorypublic void setArgName(String argName)-
argName
- the display name for the argument value.public String getArgName()-
public boolean hasArgName()-
public boolean hasArgs()-
public void setArgs(int num)-
num
- the number of argument valuespublic void setValueSeparator(char sep)-
sep
- The value separator.public char getValueSeparator()-
public boolean hasValueSeparator()-
public int getArgs()-
- A value equal to the constant UNINITIALIZED
(= -1) indicates
- the number of arguments has not been specified.
- A value equal to the constant UNLIMITED_VALUES
(= -2) indicates
- that this options takes an unlimited amount of values.
-
UNINITIALIZED
,
-UNLIMITED_VALUES
public String getValue()-
null
if there is no value.null
if there is no value.public String getValue(int index) - throws IndexOutOfBoundsException-
null
if there is no value.index
- The index of the value to be returned.null
if there is no value.IndexOutOfBoundsException
- if index is less than 1
- or greater than the number of the values for this Option.public String getValue(String defaultValue)-
defaultValue
if there is no value.defaultValue
- The value to be returned if there
- is no value.defaultValue
if there are no values.public String[] getValues()-
public List<String> getValuesList()-
public String toString()-
public Object clone()-
clone
in class Object
RuntimeException
- if a CloneNotSupportedException
has been thrown
- by super.clone()
@Deprecated -public boolean addValue(String value)-
value
- the value to addUnsupportedOperationException
UnsupportedOperationException
- alwayspublic static Option.Builder builder()-
Option.Builder
to create an Option
using descriptive
- methods.Option.Builder
instancepublic static Option.Builder builder(String opt)-
Option.Builder
to create an Option
using descriptive
- methods.opt
- short representation of the optionOption.Builder
instanceIllegalArgumentException
- if there are any non valid Option characters in opt
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/OptionBuilder.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/OptionBuilder.html deleted file mode 100755 index fe5ec96..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/OptionBuilder.html +++ /dev/null @@ -1,737 +0,0 @@ - - - - - - -Option.builder(String)
instead@Deprecated -public final class OptionBuilder -extends Object-
- Details on the Builder pattern can be found at - http://c2.com/cgi-bin/wiki?BuilderPattern. -
- This class is NOT thread safe. See CLI-209
Modifier and Type | -Method and Description | -
---|---|
static Option |
-create()
-Deprecated.
-Create an Option using the current settings
- |
-
static Option |
-create(char opt)
-Deprecated.
-Create an Option using the current settings and with
- the specified Option
-char . |
-
static Option |
-create(String opt)
-Deprecated.
-Create an Option using the current settings and with
- the specified Option
-char . |
-
static OptionBuilder |
-hasArg()
-Deprecated.
-The next Option created will require an argument value.
- |
-
static OptionBuilder |
-hasArg(boolean hasArg)
-Deprecated.
-The next Option created will require an argument value if
-
-hasArg is true. |
-
static OptionBuilder |
-hasArgs()
-Deprecated.
-The next Option created can have unlimited argument values.
- |
-
static OptionBuilder |
-hasArgs(int num)
-Deprecated.
-The next Option created can have
-num argument values. |
-
static OptionBuilder |
-hasOptionalArg()
-Deprecated.
-The next Option can have an optional argument.
- |
-
static OptionBuilder |
-hasOptionalArgs()
-Deprecated.
-The next Option can have an unlimited number of optional arguments.
- |
-
static OptionBuilder |
-hasOptionalArgs(int numArgs)
-Deprecated.
-The next Option can have the specified number of optional arguments.
- |
-
static OptionBuilder |
-isRequired()
-Deprecated.
-The next Option created will be required.
- |
-
static OptionBuilder |
-isRequired(boolean newRequired)
-Deprecated.
-The next Option created will be required if
-required
- is true. |
-
static OptionBuilder |
-withArgName(String name)
-Deprecated.
-The next Option created will have the specified argument value name.
- |
-
static OptionBuilder |
-withDescription(String newDescription)
-Deprecated.
-The next Option created will have the specified description
- |
-
static OptionBuilder |
-withLongOpt(String newLongopt)
-Deprecated.
-The next Option created will have the following long option value.
- |
-
static OptionBuilder |
-withType(Class<?> newType)
-Deprecated.
-The next Option created will have a value that will be an instance
- of
-type . |
-
static OptionBuilder |
-withType(Object newType)
-Deprecated.
-
-since 1.3, use
-withType(Class) instead |
-
static OptionBuilder |
-withValueSeparator()
-Deprecated.
-The next Option created uses '
-= ' as a means to
- separate argument values. |
-
static OptionBuilder |
-withValueSeparator(char sep)
-Deprecated.
-The next Option created uses
-sep as a means to
- separate argument values. |
-
public static OptionBuilder withLongOpt(String newLongopt)-
newLongopt
- the long option valuepublic static OptionBuilder hasArg()-
public static OptionBuilder hasArg(boolean hasArg)-
hasArg
is true.hasArg
- if true then the Option has an argument valuepublic static OptionBuilder withArgName(String name)-
name
- the name for the argument valuepublic static OptionBuilder isRequired()-
public static OptionBuilder withValueSeparator(char sep)-
sep
as a means to
- separate argument values.
- - Example: -
- Option opt = OptionBuilder.withValueSeparator('=') - .create('D'); - - String args = "-Dkey=value"; - CommandLine line = parser.parse(args); - String propertyName = opt.getValue(0); // will be "key" - String propertyValue = opt.getValue(1); // will be "value" -
sep
- The value separator to be used for the argument values.public static OptionBuilder withValueSeparator()-
=
' as a means to
- separate argument values.
-
- Example:
- - Option opt = OptionBuilder.withValueSeparator() - .create('D'); - - CommandLine line = parser.parse(args); - String propertyName = opt.getValue(0); - String propertyValue = opt.getValue(1); -
public static OptionBuilder isRequired(boolean newRequired)-
required
- is true.newRequired
- if true then the Option is requiredpublic static OptionBuilder hasArgs()-
public static OptionBuilder hasArgs(int num)-
num
argument values.num
- the number of args that the option can havepublic static OptionBuilder hasOptionalArg()-
public static OptionBuilder hasOptionalArgs()-
public static OptionBuilder hasOptionalArgs(int numArgs)-
numArgs
- - the maximum number of optional arguments
- the next Option created can have.@Deprecated -public static OptionBuilder withType(Object newType)-
withType(Class)
insteadtype
.
-
- Note: this method is kept for binary compatibility and the
- input type is supposed to be a Class
object.
newType
- the type of the Options argument valuepublic static OptionBuilder withType(Class<?> newType)-
type
.newType
- the type of the Options argument valuepublic static OptionBuilder withDescription(String newDescription)-
newDescription
- a description of the Option's purposepublic static Option create(char opt) - throws IllegalArgumentException-
char
.opt
- the character representation of the OptionIllegalArgumentException
- if opt
is not
- a valid character. See Option.public static Option create() - throws IllegalArgumentException-
IllegalArgumentException
- if longOpt
has not been set.public static Option create(String opt) - throws IllegalArgumentException-
char
.opt
- the java.lang.String
representation
- of the OptionIllegalArgumentException
- if opt
is not
- a valid character. See Option.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/OptionGroup.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/OptionGroup.html deleted file mode 100755 index c89617a..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/OptionGroup.html +++ /dev/null @@ -1,426 +0,0 @@ - - - - - - -public class OptionGroup -extends Object -implements Serializable-
Constructor and Description | -
---|
OptionGroup() |
-
Modifier and Type | -Method and Description | -
---|---|
OptionGroup |
-addOption(Option option)
-Add the specified
-Option to this group. |
-
Collection<String> |
-getNames() |
-
Collection<Option> |
-getOptions() |
-
String |
-getSelected() |
-
boolean |
-isRequired()
-Returns whether this option group is required.
- |
-
void |
-setRequired(boolean required) |
-
void |
-setSelected(Option option)
-Set the selected option of this group to
-name . |
-
String |
-toString()
-Returns the stringified version of this OptionGroup.
- |
-
public OptionGroup addOption(Option option)-
Option
to this group.option
- the option to add to this grouppublic Collection<String> getNames()-
Collection
public Collection<Option> getOptions()-
Collection
public void setSelected(Option option) - throws AlreadySelectedException-
name
.option
- the option that is selectedAlreadySelectedException
- if an option from this group has
- already been selected.public String getSelected()-
public void setRequired(boolean required)-
required
- specifies if this group is requiredpublic boolean isRequired()-
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/Options.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/Options.html deleted file mode 100755 index ee94f89..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/Options.html +++ /dev/null @@ -1,668 +0,0 @@ - - - - - - -public class Options -extends Object -implements Serializable-
- Options represents a collection of Option
objects, which
- describe the possible options for a command-line.
-
- It may flexibly parse long and short options, with or without - values. Additionally, it may parse only a portion of a commandline, - allowing for flexible multi-stage parsing.
CommandLine
,
-Serialized FormModifier and Type | -Method and Description | -
---|---|
Options |
-addOption(Option opt)
-Adds an option instance
- |
-
Options |
-addOption(String opt,
- boolean hasArg,
- String description)
-Add an option that only contains a short-name.
- |
-
Options |
-addOption(String opt,
- String description)
-Add an option that only contains a short name.
- |
-
Options |
-addOption(String opt,
- String longOpt,
- boolean hasArg,
- String description)
-Add an option that contains a short-name and a long-name.
- |
-
Options |
-addOptionGroup(OptionGroup group)
-Add the specified option group.
- |
-
Options |
-addRequiredOption(String opt,
- String longOpt,
- boolean hasArg,
- String description)
-Add an option that contains a short-name and a long-name.
- |
-
List<String> |
-getMatchingOptions(String opt)
-Returns the options with a long name starting with the name specified.
- |
-
Option |
-getOption(String opt)
-Retrieve the
-Option matching the long or short name specified. |
-
OptionGroup |
-getOptionGroup(Option opt)
-Returns the OptionGroup the
-opt belongs to. |
-
Collection<Option> |
-getOptions()
-Retrieve a read-only list of options in this set
- |
-
List |
-getRequiredOptions()
-Returns the required options.
- |
-
boolean |
-hasLongOption(String opt)
-
- |
-
boolean |
-hasOption(String opt)
-
- |
-
boolean |
-hasShortOption(String opt)
-
- |
-
String |
-toString()
-Dump state, suitable for debugging.
- |
-
public Options addOptionGroup(OptionGroup group)-
group
- the OptionGroup that is to be addedpublic Options addOption(String opt, - String description)-
- The option does not take an argument. -
opt
- Short single-character name of the option.description
- Self-documenting descriptionpublic Options addOption(String opt, - boolean hasArg, - String description)-
- It may be specified as requiring an argument. -
opt
- Short single-character name of the option.hasArg
- flag signally if an argument is required after this optiondescription
- Self-documenting descriptionpublic Options addOption(String opt, - String longOpt, - boolean hasArg, - String description)-
- It may be specified as requiring an argument. -
opt
- Short single-character name of the option.longOpt
- Long multi-character name of the option.hasArg
- flag signally if an argument is required after this optiondescription
- Self-documenting descriptionpublic Options addRequiredOption(String opt, - String longOpt, - boolean hasArg, - String description)-
- The added option is set as required. It may be specified as requiring an argument. This method is a shortcut for: -
- -
-
- Options option = new Option(opt, longOpt, hasArg, description);
- option.setRequired(true);
- options.add(option);
-
-
opt
- Short single-character name of the option.longOpt
- Long multi-character name of the option.hasArg
- flag signally if an argument is required after this optiondescription
- Self-documenting descriptionpublic Options addOption(Option opt)-
opt
- the option that is to be addedpublic Collection<Option> getOptions()-
Option
objects in this descriptorpublic List getRequiredOptions()-
public Option getOption(String opt)-
Option
matching the long or short name specified.
-
- - The leading hyphens in the name are ignored (up to 2). -
opt
- short or long name of the Option
public List<String> getMatchingOptions(String opt)-
opt
- the partial name of the optionpublic boolean hasOption(String opt)- - -
public boolean hasLongOption(String opt)- - -
public boolean hasShortOption(String opt)- - -
public OptionGroup getOptionGroup(Option opt)-
opt
belongs to.opt
- the option whose OptionGroup is being queried.opt
is part of an OptionGroup, otherwise return nullCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/ParseException.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/ParseException.html deleted file mode 100755 index 17f2db9..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/ParseException.html +++ /dev/null @@ -1,277 +0,0 @@ - - - - - - -public class ParseException -extends Exception-
Constructor and Description | -
---|
ParseException(String message)
-Construct a new
-ParseException
- with the specified detail message. |
-
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/Parser.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/Parser.html deleted file mode 100755 index 2ed4566..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/Parser.html +++ /dev/null @@ -1,673 +0,0 @@ - - - - - - -@Deprecated -public abstract class Parser -extends Object -implements CommandLineParser-
Parser
creates CommandLine
s.Modifier and Type | -Field and Description | -
---|---|
protected CommandLine |
-cmd
-Deprecated.
-commandline instance
- |
-
Constructor and Description | -
---|
Parser()
-Deprecated.
- |
-
Modifier and Type | -Method and Description | -
---|---|
protected void |
-checkRequiredOptions()
-Deprecated.
-Throws a
-MissingOptionException if all of the required options
- are not present. |
-
protected abstract String[] |
-flatten(Options opts,
- String[] arguments,
- boolean stopAtNonOption)
-Deprecated.
-Subclasses must implement this method to reduce
- the
-arguments that have been passed to the parse method. |
-
protected Options |
-getOptions()
-Deprecated.
- |
-
protected List |
-getRequiredOptions()
-Deprecated.
- |
-
CommandLine |
-parse(Options options,
- String[] arguments)
-Deprecated.
-Parses the specified
-arguments based
- on the specified Options . |
-
CommandLine |
-parse(Options options,
- String[] arguments,
- boolean stopAtNonOption)
-Deprecated.
-Parses the specified
-arguments
- based on the specified Options . |
-
CommandLine |
-parse(Options options,
- String[] arguments,
- Properties properties)
-Deprecated.
-Parse the arguments according to the specified options and properties.
- |
-
CommandLine |
-parse(Options options,
- String[] arguments,
- Properties properties,
- boolean stopAtNonOption)
-Deprecated.
-Parse the arguments according to the specified options and
- properties.
- |
-
void |
-processArgs(Option opt,
- ListIterator<String> iter)
-Deprecated.
-Process the argument values for the specified Option
-
-opt using the values retrieved from the
- specified iterator iter . |
-
protected void |
-processOption(String arg,
- ListIterator<String> iter)
-Deprecated.
-Process the Option specified by
-arg using the values
- retrieved from the specified iterator iter . |
-
protected void |
-processProperties(Properties properties)
-Deprecated.
-Sets the values of Options using the values in
-properties . |
-
protected void |
-setOptions(Options options)
-Deprecated.
- |
-
protected CommandLine cmd-
protected void setOptions(Options options)-
protected Options getOptions()-
protected List getRequiredOptions()-
protected abstract String[] flatten(Options opts, - String[] arguments, - boolean stopAtNonOption) - throws ParseException-
arguments
that have been passed to the parse method.opts
- The Options to parse the arguments by.arguments
- The arguments that have to be flattened.stopAtNonOption
- specifies whether to stop
- flattening when a non option has been encounteredParseException
- if there are any problems encountered
- while parsing the command line tokens.public CommandLine parse(Options options, - String[] arguments) - throws ParseException-
arguments
based
- on the specified Options
.parse
in interface CommandLineParser
options
- the Options
arguments
- the arguments
CommandLine
ParseException
- if there are any problems encountered
- while parsing the command line tokens.public CommandLine parse(Options options, - String[] arguments, - Properties properties) - throws ParseException-
options
- the specified Optionsarguments
- the command line argumentsproperties
- command line option name-value pairsParseException
- if there are any problems encountered
- while parsing the command line tokens.public CommandLine parse(Options options, - String[] arguments, - boolean stopAtNonOption) - throws ParseException-
arguments
- based on the specified Options
.parse
in interface CommandLineParser
options
- the Options
arguments
- the arguments
stopAtNonOption
- if true an unrecognized argument stops
- the parsing and the remaining arguments are added to the
- CommandLine
s args list. If false an unrecognized
- argument triggers a ParseException.CommandLine
ParseException
- if an error occurs when parsing the arguments.public CommandLine parse(Options options, - String[] arguments, - Properties properties, - boolean stopAtNonOption) - throws ParseException-
options
- the specified Optionsarguments
- the command line argumentsproperties
- command line option name-value pairsstopAtNonOption
- if true an unrecognized argument stops
- the parsing and the remaining arguments are added to the
- CommandLine
s args list. If false an unrecognized
- argument triggers a ParseException.ParseException
- if there are any problems encountered
- while parsing the command line tokens.protected void processProperties(Properties properties) - throws ParseException-
properties
.properties
- The value properties to be processed.ParseException
- if there are any problems encountered
- while processing the properties.protected void checkRequiredOptions() - throws MissingOptionException-
MissingOptionException
if all of the required options
- are not present.MissingOptionException
- if any of the required Options are not present.public void processArgs(Option opt, - ListIterator<String> iter) - throws ParseException-
opt
using the values retrieved from the
- specified iterator iter
.opt
- The current Optioniter
- The iterator over the flattened command line Options.ParseException
- if an argument value is required
- and it is has not been found.protected void processOption(String arg, - ListIterator<String> iter) - throws ParseException-
arg
using the values
- retrieved from the specified iterator iter
.arg
- The String value representing an Optioniter
- The iterator over the flattened command line arguments.ParseException
- if arg
does not represent an OptionCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/PatternOptionBuilder.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/PatternOptionBuilder.html deleted file mode 100755 index 325313e..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/PatternOptionBuilder.html +++ /dev/null @@ -1,523 +0,0 @@ - - - - - - -public class PatternOptionBuilder -extends Object-
Allows Options to be created from a single String. - The pattern contains various single character flags and via - an optional punctuation character, their expected type. -
- -a | -a flag |
b@ | -b [classname] |
c> | -c [filename] |
d+ | -d [classname] (creates object via empty constructor) |
e% | -e [number] (creates Double/Long instance depending on existing of a '.') |
f/ | -f [url] |
g: | -g [string] |
- For example, the following allows command line flags of '-v -p string-value -f /dir/file'. - The exclamation mark precede a mandatory option. -
- -- Options options = PatternOptionBuilder.parsePattern("vp:!f/"); -- -
- TODO: These need to break out to OptionType and also to be pluggable. -
Modifier and Type | -Field and Description | -
---|---|
static Class<?> |
-CLASS_VALUE
-Class class
- |
-
static Class<Date> |
-DATE_VALUE
-Date class
- |
-
static Class<FileInputStream> |
-EXISTING_FILE_VALUE
-FileInputStream class
- |
-
static Class<File> |
-FILE_VALUE
-File class
- |
-
static Class<File[]> |
-FILES_VALUE
-File array class
- |
-
static Class<Number> |
-NUMBER_VALUE
-Number class
- |
-
static Class<Object> |
-OBJECT_VALUE
-Object class
- |
-
static Class<String> |
-STRING_VALUE
-String class
- |
-
static Class<URL> |
-URL_VALUE
-URL class
- |
-
Constructor and Description | -
---|
PatternOptionBuilder() |
-
Modifier and Type | -Method and Description | -
---|---|
static Object |
-getValueClass(char ch)
-Retrieve the class that
-ch represents. |
-
static boolean |
-isValueCode(char ch)
-Returns whether
-ch is a value code, i.e. |
-
static Options |
-parsePattern(String pattern)
-Returns the
-Options instance represented by pattern . |
-
public static final Class<?> CLASS_VALUE-
public static final Class<FileInputStream> EXISTING_FILE_VALUE-
public static Object getValueClass(char ch)-
ch
represents.ch
- the specified characterch
representspublic static boolean isValueCode(char ch)-
ch
is a value code, i.e.
- whether it represents a class in a pattern.ch
- the specified characterch
is a value code, otherwise false.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/PosixParser.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/PosixParser.html deleted file mode 100755 index 13bf8db..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/PosixParser.html +++ /dev/null @@ -1,413 +0,0 @@ - - - - - - -DefaultParser
instead@Deprecated -public class PosixParser -extends Parser-
flatten
method.Constructor and Description | -
---|
PosixParser()
-Deprecated.
- |
-
Modifier and Type | -Method and Description | -
---|---|
protected void |
-burstToken(String token,
- boolean stopAtNonOption)
-Deprecated.
-Breaks
-token into its constituent parts
- using the following algorithm. |
-
protected String[] |
-flatten(Options options,
- String[] arguments,
- boolean stopAtNonOption)
-Deprecated.
-
- |
-
checkRequiredOptions, getOptions, getRequiredOptions, parse, parse, parse, parse, processArgs, processOption, processProperties, setOptions
protected String[] flatten(Options options, - String[] arguments, - boolean stopAtNonOption) - throws ParseException-
An implementation of Parser
's abstract
- flatten
method.
The following are the rules used by this flatten method.
-stopAtNonOption
is true then do not
- burst anymore of arguments
entries, just add each
- successive entry without further processing. Otherwise, ignore
- stopAtNonOption
.arguments
entry is "--"
- just add the entry to the list of processed tokensarguments
entry is "-"
- just add the entry to the list of processed tokensarguments
entry is two characters
- in length and the first character is "-" then check if this
- is a valid Option
id. If it is a valid id, then add the
- entry to the list of processed tokens and set the current Option
- member. If it is not a valid id and stopAtNonOption
- is true, then the remaining entries are copied to the list of
- processed tokens. Otherwise, the current entry is ignored.arguments
entry is more than two
- characters in length and the first character is "-" then
- we need to burst the entry to determine its constituents. For more
- information on the bursting algorithm see
- burstToken
.arguments
entry is not handled
- by any of the previous rules, then the entry is added to the list
- of processed tokens.flatten
in class Parser
options
- The command line Options
arguments
- The command line arguments to be parsedstopAtNonOption
- Specifies whether to stop flattening
- when an non option is found.arguments
String array.ParseException
- if there are any problems encountered
- while parsing the command line tokens.protected void burstToken(String token, - boolean stopAtNonOption)-
token
into its constituent parts
- using the following algorithm.
-
- Option
- exists with that id.Option
does exist then add that character
- prepended with "-" to the list of processed tokens.Option
can have an argument value and there
- are remaining characters in the token then add the remaining
- characters as a token to the list of processed tokens.Option
does NOT exist AND
- stopAtNonOption
IS set then add the special token
- "--" followed by the remaining characters and also
- the remaining tokens directly to the processed tokens list.Option
does NOT exist AND
- stopAtNonOption
IS NOT set then add that
- character prepended with "-".token
- The current token to be burststopAtNonOption
- Specifies whether to stop processing
- at the first non-Option encountered.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/TypeHandler.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/TypeHandler.html deleted file mode 100755 index bc23cb7..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/TypeHandler.html +++ /dev/null @@ -1,505 +0,0 @@ - - - - - - -public class TypeHandler -extends Object-
Constructor and Description | -
---|
TypeHandler() |
-
Modifier and Type | -Method and Description | -
---|---|
static Class<?> |
-createClass(String classname)
-Returns the class whose name is
-classname . |
-
static Date |
-createDate(String str)
-Returns the date represented by
-str . |
-
static File |
-createFile(String str)
-Returns the File represented by
-str . |
-
static File[] |
-createFiles(String str)
-Returns the File[] represented by
-str . |
-
static Number |
-createNumber(String str)
-Create a number from a String.
- |
-
static Object |
-createObject(String classname)
-Create an Object from the classname and empty constructor.
- |
-
static URL |
-createURL(String str)
-Returns the URL represented by
-str . |
-
static Object |
-createValue(String str,
- Class<?> clazz)
-Returns the
-Object of type clazz
- with the value of str . |
-
static Object |
-createValue(String str,
- Object obj)
-Returns the
-Object of type obj
- with the value of str . |
-
public static Object createValue(String str, - Object obj) - throws ParseException-
Object
of type obj
- with the value of str
.str
- the command line valueobj
- the type of argumentobj
initialised with
- the value of str
.ParseException
- if the value creation for the given object type failedpublic static Object createValue(String str, - Class<?> clazz) - throws ParseException-
Object
of type clazz
- with the value of str
.str
- the command line valueclazz
- the type of argumentclazz
initialised with
- the value of str
.ParseException
- if the value creation for the given class failedpublic static Object createObject(String classname) - throws ParseException-
classname
- the argument valueParseException
- if the class could not be found or the object could not be createdpublic static Number createNumber(String str) - throws ParseException-
str
- the valuestr
ParseException
- if str
is not a numberpublic static Class<?> createClass(String classname) - throws ParseException-
classname
.classname
- the class nameParseException
- if the class could not be foundpublic static Date createDate(String str)-
str
.
-
- This method is not yet implemented and always throws an
- UnsupportedOperationException
.
str
- the date stringstr
is a valid date string,
- otherwise return null.UnsupportedOperationException
- alwayspublic static URL createURL(String str) - throws ParseException-
str
.str
- the URL stringstr
is well-formedParseException
- if the URL in str
is not well-formedpublic static File createFile(String str)-
str
.str
- the File locationstr
.public static File[] createFiles(String str)-
str
.
-
- This method is not yet implemented and always throws an
- UnsupportedOperationException
.
str
- the paths to the filesstr
.UnsupportedOperationException
- alwaysCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/UnrecognizedOptionException.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/UnrecognizedOptionException.html deleted file mode 100755 index 885b5bc..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/UnrecognizedOptionException.html +++ /dev/null @@ -1,352 +0,0 @@ - - - - - - -public class UnrecognizedOptionException -extends ParseException-
Constructor and Description | -
---|
UnrecognizedOptionException(String message)
-Construct a new
-UnrecognizedArgumentException
- with the specified detail message. |
-
UnrecognizedOptionException(String message,
- String option)
-Construct a new
-UnrecognizedArgumentException
- with the specified option and detail message. |
-
Modifier and Type | -Method and Description | -
---|---|
String |
-getOption()
-Returns the unrecognized option.
- |
-
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/AlreadySelectedException.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/AlreadySelectedException.html deleted file mode 100755 index ccd3bca..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/AlreadySelectedException.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - -Modifier and Type | -Method and Description | -
---|---|
void |
-OptionGroup.setSelected(Option option)
-Set the selected option of this group to
-name . |
-
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/AmbiguousOptionException.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/AmbiguousOptionException.html deleted file mode 100755 index 2953754..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/AmbiguousOptionException.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - -Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/BasicParser.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/BasicParser.html deleted file mode 100755 index 4197c5e..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/BasicParser.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - -Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/CommandLine.Builder.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/CommandLine.Builder.html deleted file mode 100755 index dd3f849..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/CommandLine.Builder.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - -Modifier and Type | -Method and Description | -
---|---|
CommandLine.Builder |
-CommandLine.Builder.addArg(String arg)
-Add left-over unrecognized option/argument.
- |
-
CommandLine.Builder |
-CommandLine.Builder.addOption(Option opt)
-Add an option to the command line.
- |
-
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/CommandLine.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/CommandLine.html deleted file mode 100755 index a07350a..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/CommandLine.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - -Modifier and Type | -Field and Description | -
---|---|
protected CommandLine |
-Parser.cmd
-Deprecated.
-commandline instance
- |
-
protected CommandLine |
-DefaultParser.cmd
-The command-line instance.
- |
-
Modifier and Type | -Method and Description | -
---|---|
CommandLine |
-CommandLine.Builder.build() |
-
CommandLine |
-Parser.parse(Options options,
- String[] arguments)
-Deprecated.
-Parses the specified
-arguments based
- on the specified Options . |
-
CommandLine |
-DefaultParser.parse(Options options,
- String[] arguments) |
-
CommandLine |
-CommandLineParser.parse(Options options,
- String[] arguments)
-Parse the arguments according to the specified options.
- |
-
CommandLine |
-Parser.parse(Options options,
- String[] arguments,
- boolean stopAtNonOption)
-Deprecated.
-Parses the specified
-arguments
- based on the specified Options . |
-
CommandLine |
-DefaultParser.parse(Options options,
- String[] arguments,
- boolean stopAtNonOption) |
-
CommandLine |
-CommandLineParser.parse(Options options,
- String[] arguments,
- boolean stopAtNonOption)
-Parse the arguments according to the specified options.
- |
-
CommandLine |
-Parser.parse(Options options,
- String[] arguments,
- Properties properties)
-Deprecated.
-Parse the arguments according to the specified options and properties.
- |
-
CommandLine |
-DefaultParser.parse(Options options,
- String[] arguments,
- Properties properties)
-Parse the arguments according to the specified options and properties.
- |
-
CommandLine |
-Parser.parse(Options options,
- String[] arguments,
- Properties properties,
- boolean stopAtNonOption)
-Deprecated.
-Parse the arguments according to the specified options and
- properties.
- |
-
CommandLine |
-DefaultParser.parse(Options options,
- String[] arguments,
- Properties properties,
- boolean stopAtNonOption)
-Parse the arguments according to the specified options and properties.
- |
-
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/CommandLineParser.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/CommandLineParser.html deleted file mode 100755 index dcb07c8..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/CommandLineParser.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - -Modifier and Type | -Class and Description | -
---|---|
class |
-BasicParser
-Deprecated.
-
-since 1.3, use the
-DefaultParser instead |
-
class |
-DefaultParser
-Default parser.
- |
-
class |
-GnuParser
-Deprecated.
-
-since 1.3, use the
-DefaultParser instead |
-
class |
-Parser
-Deprecated.
-
-since 1.3, the two-pass parsing with the flatten method is not enough flexible to handle complex cases
- |
-
class |
-PosixParser
-Deprecated.
-
-since 1.3, use the
-DefaultParser instead |
-
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/DefaultParser.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/DefaultParser.html deleted file mode 100755 index a6ab947..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/DefaultParser.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - -Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/GnuParser.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/GnuParser.html deleted file mode 100755 index c3c17b4..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/GnuParser.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - -Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/HelpFormatter.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/HelpFormatter.html deleted file mode 100755 index 11d0c9c..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/HelpFormatter.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - -Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/MissingArgumentException.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/MissingArgumentException.html deleted file mode 100755 index edb6478..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/MissingArgumentException.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - -Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/MissingOptionException.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/MissingOptionException.html deleted file mode 100755 index 01afa04..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/MissingOptionException.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - -Modifier and Type | -Method and Description | -
---|---|
protected void |
-Parser.checkRequiredOptions()
-Deprecated.
-Throws a
-MissingOptionException if all of the required options
- are not present. |
-
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/Option.Builder.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/Option.Builder.html deleted file mode 100755 index ab636e1..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/Option.Builder.html +++ /dev/null @@ -1,237 +0,0 @@ - - - - - - -Modifier and Type | -Method and Description | -
---|---|
Option.Builder |
-Option.Builder.argName(String argName)
-Sets the display name for the argument value.
- |
-
static Option.Builder |
-Option.builder()
-Returns a
-Option.Builder to create an Option using descriptive
- methods. |
-
static Option.Builder |
-Option.builder(String opt)
-Returns a
-Option.Builder to create an Option using descriptive
- methods. |
-
Option.Builder |
-Option.Builder.desc(String description)
-Sets the description for this option.
- |
-
Option.Builder |
-Option.Builder.hasArg()
-Indicates that the Option will require an argument.
- |
-
Option.Builder |
-Option.Builder.hasArg(boolean hasArg)
-Indicates if the Option has an argument or not.
- |
-
Option.Builder |
-Option.Builder.hasArgs()
-Indicates that the Option can have unlimited argument values.
- |
-
Option.Builder |
-Option.Builder.longOpt(String longOpt)
-Sets the long name of the Option.
- |
-
Option.Builder |
-Option.Builder.numberOfArgs(int numberOfArgs)
-Sets the number of argument values the Option can take.
- |
-
Option.Builder |
-Option.Builder.optionalArg(boolean isOptional)
-Sets whether the Option can have an optional argument.
- |
-
Option.Builder |
-Option.Builder.required()
-Marks this Option as required.
- |
-
Option.Builder |
-Option.Builder.required(boolean required)
-Sets whether the Option is mandatory.
- |
-
Option.Builder |
-Option.Builder.type(Class<?> type)
-Sets the type of the Option.
- |
-
Option.Builder |
-Option.Builder.valueSeparator()
-The Option will use '=' as a means to separate argument value.
- |
-
Option.Builder |
-Option.Builder.valueSeparator(char sep)
-The Option will use
-sep as a means to
- separate argument values. |
-
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/Option.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/Option.html deleted file mode 100755 index 0254d6d..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/Option.html +++ /dev/null @@ -1,352 +0,0 @@ - - - - - - -Modifier and Type | -Field and Description | -
---|---|
protected Option |
-DefaultParser.currentOption
-The last option parsed.
- |
-
Modifier and Type | -Field and Description | -
---|---|
protected Comparator<Option> |
-HelpFormatter.optionComparator
-Comparator used to sort the options when they output in help text
-
- Defaults to case-insensitive alphabetical sorting by option key
- |
-
Modifier and Type | -Method and Description | -
---|---|
Option |
-Option.Builder.build()
-Constructs an Option with the values declared by this
-Option.Builder . |
-
static Option |
-OptionBuilder.create()
-Deprecated.
-Create an Option using the current settings
- |
-
static Option |
-OptionBuilder.create(char opt)
-Deprecated.
-Create an Option using the current settings and with
- the specified Option
-char . |
-
static Option |
-OptionBuilder.create(String opt)
-Deprecated.
-Create an Option using the current settings and with
- the specified Option
-char . |
-
Option |
-MissingArgumentException.getOption()
-Return the option requiring an argument that wasn't provided
- on the command line.
- |
-
Option |
-AlreadySelectedException.getOption()
-Returns the option that was added to the group and triggered the exception.
- |
-
Option |
-Options.getOption(String opt)
-Retrieve the
-Option matching the long or short name specified. |
-
Option[] |
-CommandLine.getOptions()
-Returns an array of the processed
-Option s. |
-
Modifier and Type | -Method and Description | -
---|---|
Comparator<Option> |
-HelpFormatter.getOptionComparator()
-Comparator used to sort the options when they output in help text.
- |
-
Collection<Option> |
-Options.getOptions()
-Retrieve a read-only list of options in this set
- |
-
Collection<Option> |
-OptionGroup.getOptions() |
-
Iterator<Option> |
-CommandLine.iterator()
-Returns an iterator over the Option members of CommandLine.
- |
-
Modifier and Type | -Method and Description | -
---|---|
Options |
-Options.addOption(Option opt)
-Adds an option instance
- |
-
OptionGroup |
-OptionGroup.addOption(Option option)
-Add the specified
-Option to this group. |
-
protected void |
-CommandLine.addOption(Option opt)
-Add an option to the command line.
- |
-
CommandLine.Builder |
-CommandLine.Builder.addOption(Option opt)
-Add an option to the command line.
- |
-
OptionGroup |
-Options.getOptionGroup(Option opt)
-Returns the OptionGroup the
-opt belongs to. |
-
void |
-Parser.processArgs(Option opt,
- ListIterator<String> iter)
-Deprecated.
-Process the argument values for the specified Option
-
-opt using the values retrieved from the
- specified iterator iter . |
-
void |
-OptionGroup.setSelected(Option option)
-Set the selected option of this group to
-name . |
-
Modifier and Type | -Method and Description | -
---|---|
void |
-HelpFormatter.setOptionComparator(Comparator<Option> comparator)
-Set the comparator used to sort the options when they output in help text.
- |
-
Constructor and Description | -
---|
AlreadySelectedException(OptionGroup group,
- Option option)
-Construct a new
-AlreadySelectedException
- for the specified option group. |
-
MissingArgumentException(Option option)
-Construct a new
-MissingArgumentException
- with the specified detail message. |
-
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/OptionBuilder.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/OptionBuilder.html deleted file mode 100755 index 7fafa66..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/OptionBuilder.html +++ /dev/null @@ -1,262 +0,0 @@ - - - - - - -Modifier and Type | -Method and Description | -
---|---|
static OptionBuilder |
-OptionBuilder.hasArg()
-Deprecated.
-The next Option created will require an argument value.
- |
-
static OptionBuilder |
-OptionBuilder.hasArg(boolean hasArg)
-Deprecated.
-The next Option created will require an argument value if
-
-hasArg is true. |
-
static OptionBuilder |
-OptionBuilder.hasArgs()
-Deprecated.
-The next Option created can have unlimited argument values.
- |
-
static OptionBuilder |
-OptionBuilder.hasArgs(int num)
-Deprecated.
-The next Option created can have
-num argument values. |
-
static OptionBuilder |
-OptionBuilder.hasOptionalArg()
-Deprecated.
-The next Option can have an optional argument.
- |
-
static OptionBuilder |
-OptionBuilder.hasOptionalArgs()
-Deprecated.
-The next Option can have an unlimited number of optional arguments.
- |
-
static OptionBuilder |
-OptionBuilder.hasOptionalArgs(int numArgs)
-Deprecated.
-The next Option can have the specified number of optional arguments.
- |
-
static OptionBuilder |
-OptionBuilder.isRequired()
-Deprecated.
-The next Option created will be required.
- |
-
static OptionBuilder |
-OptionBuilder.isRequired(boolean newRequired)
-Deprecated.
-The next Option created will be required if
-required
- is true. |
-
static OptionBuilder |
-OptionBuilder.withArgName(String name)
-Deprecated.
-The next Option created will have the specified argument value name.
- |
-
static OptionBuilder |
-OptionBuilder.withDescription(String newDescription)
-Deprecated.
-The next Option created will have the specified description
- |
-
static OptionBuilder |
-OptionBuilder.withLongOpt(String newLongopt)
-Deprecated.
-The next Option created will have the following long option value.
- |
-
static OptionBuilder |
-OptionBuilder.withType(Class<?> newType)
-Deprecated.
-The next Option created will have a value that will be an instance
- of
-type . |
-
static OptionBuilder |
-OptionBuilder.withType(Object newType)
-Deprecated.
-
-since 1.3, use
-withType(Class) instead |
-
static OptionBuilder |
-OptionBuilder.withValueSeparator()
-Deprecated.
-The next Option created uses '
-= ' as a means to
- separate argument values. |
-
static OptionBuilder |
-OptionBuilder.withValueSeparator(char sep)
-Deprecated.
-The next Option created uses
-sep as a means to
- separate argument values. |
-
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/OptionGroup.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/OptionGroup.html deleted file mode 100755 index 5db4efc..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/OptionGroup.html +++ /dev/null @@ -1,192 +0,0 @@ - - - - - - -Modifier and Type | -Method and Description | -
---|---|
OptionGroup |
-OptionGroup.addOption(Option option)
-Add the specified
-Option to this group. |
-
OptionGroup |
-AlreadySelectedException.getOptionGroup()
-Returns the option group where another option has been selected.
- |
-
OptionGroup |
-Options.getOptionGroup(Option opt)
-Returns the OptionGroup the
-opt belongs to. |
-
Modifier and Type | -Method and Description | -
---|---|
Options |
-Options.addOptionGroup(OptionGroup group)
-Add the specified option group.
- |
-
Constructor and Description | -
---|
AlreadySelectedException(OptionGroup group,
- Option option)
-Construct a new
-AlreadySelectedException
- for the specified option group. |
-
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/Options.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/Options.html deleted file mode 100755 index 20283f0..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/Options.html +++ /dev/null @@ -1,479 +0,0 @@ - - - - - - -Modifier and Type | -Field and Description | -
---|---|
protected Options |
-DefaultParser.options
-The current options.
- |
-
Modifier and Type | -Method and Description | -
---|---|
Options |
-Options.addOption(Option opt)
-Adds an option instance
- |
-
Options |
-Options.addOption(String opt,
- boolean hasArg,
- String description)
-Add an option that only contains a short-name.
- |
-
Options |
-Options.addOption(String opt,
- String description)
-Add an option that only contains a short name.
- |
-
Options |
-Options.addOption(String opt,
- String longOpt,
- boolean hasArg,
- String description)
-Add an option that contains a short-name and a long-name.
- |
-
Options |
-Options.addOptionGroup(OptionGroup group)
-Add the specified option group.
- |
-
Options |
-Options.addRequiredOption(String opt,
- String longOpt,
- boolean hasArg,
- String description)
-Add an option that contains a short-name and a long-name.
- |
-
protected Options |
-Parser.getOptions()
-Deprecated.
- |
-
static Options |
-PatternOptionBuilder.parsePattern(String pattern)
-Returns the
-Options instance represented by pattern . |
-
Modifier and Type | -Method and Description | -
---|---|
protected String[] |
-PosixParser.flatten(Options options,
- String[] arguments,
- boolean stopAtNonOption)
-Deprecated.
-
- |
-
protected abstract String[] |
-Parser.flatten(Options opts,
- String[] arguments,
- boolean stopAtNonOption)
-Deprecated.
-Subclasses must implement this method to reduce
- the
-arguments that have been passed to the parse method. |
-
protected String[] |
-GnuParser.flatten(Options options,
- String[] arguments,
- boolean stopAtNonOption)
-Deprecated.
-
- |
-
protected String[] |
-BasicParser.flatten(Options options,
- String[] arguments,
- boolean stopAtNonOption)
-Deprecated.
-
- |
-
CommandLine |
-Parser.parse(Options options,
- String[] arguments)
-Deprecated.
-Parses the specified
-arguments based
- on the specified Options . |
-
CommandLine |
-DefaultParser.parse(Options options,
- String[] arguments) |
-
CommandLine |
-CommandLineParser.parse(Options options,
- String[] arguments)
-Parse the arguments according to the specified options.
- |
-
CommandLine |
-Parser.parse(Options options,
- String[] arguments,
- boolean stopAtNonOption)
-Deprecated.
-Parses the specified
-arguments
- based on the specified Options . |
-
CommandLine |
-DefaultParser.parse(Options options,
- String[] arguments,
- boolean stopAtNonOption) |
-
CommandLine |
-CommandLineParser.parse(Options options,
- String[] arguments,
- boolean stopAtNonOption)
-Parse the arguments according to the specified options.
- |
-
CommandLine |
-Parser.parse(Options options,
- String[] arguments,
- Properties properties)
-Deprecated.
-Parse the arguments according to the specified options and properties.
- |
-
CommandLine |
-DefaultParser.parse(Options options,
- String[] arguments,
- Properties properties)
-Parse the arguments according to the specified options and properties.
- |
-
CommandLine |
-Parser.parse(Options options,
- String[] arguments,
- Properties properties,
- boolean stopAtNonOption)
-Deprecated.
-Parse the arguments according to the specified options and
- properties.
- |
-
CommandLine |
-DefaultParser.parse(Options options,
- String[] arguments,
- Properties properties,
- boolean stopAtNonOption)
-Parse the arguments according to the specified options and properties.
- |
-
void |
-HelpFormatter.printHelp(int width,
- String cmdLineSyntax,
- String header,
- Options options,
- String footer)
-Print the help for
-options with the specified
- command line syntax. |
-
void |
-HelpFormatter.printHelp(int width,
- String cmdLineSyntax,
- String header,
- Options options,
- String footer,
- boolean autoUsage)
-Print the help for
-options with the specified
- command line syntax. |
-
void |
-HelpFormatter.printHelp(PrintWriter pw,
- int width,
- String cmdLineSyntax,
- String header,
- Options options,
- int leftPad,
- int descPad,
- String footer)
-Print the help for
-options with the specified
- command line syntax. |
-
void |
-HelpFormatter.printHelp(PrintWriter pw,
- int width,
- String cmdLineSyntax,
- String header,
- Options options,
- int leftPad,
- int descPad,
- String footer,
- boolean autoUsage)
-Print the help for
-options with the specified
- command line syntax. |
-
void |
-HelpFormatter.printHelp(String cmdLineSyntax,
- Options options)
-Print the help for
-options with the specified
- command line syntax. |
-
void |
-HelpFormatter.printHelp(String cmdLineSyntax,
- Options options,
- boolean autoUsage)
-Print the help for
-options with the specified
- command line syntax. |
-
void |
-HelpFormatter.printHelp(String cmdLineSyntax,
- String header,
- Options options,
- String footer)
-Print the help for
-options with the specified
- command line syntax. |
-
void |
-HelpFormatter.printHelp(String cmdLineSyntax,
- String header,
- Options options,
- String footer,
- boolean autoUsage)
-Print the help for
-options with the specified
- command line syntax. |
-
void |
-HelpFormatter.printOptions(PrintWriter pw,
- int width,
- Options options,
- int leftPad,
- int descPad)
-Print the help for the specified Options to the specified writer,
- using the specified width, left padding and description padding.
- |
-
void |
-HelpFormatter.printUsage(PrintWriter pw,
- int width,
- String app,
- Options options)
-Prints the usage statement for the specified application.
- |
-
protected StringBuffer |
-HelpFormatter.renderOptions(StringBuffer sb,
- int width,
- Options options,
- int leftPad,
- int descPad)
-Render the specified Options and return the rendered Options
- in a StringBuffer.
- |
-
protected void |
-Parser.setOptions(Options options)
-Deprecated.
- |
-
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/ParseException.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/ParseException.html deleted file mode 100755 index 16cb8e7..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/ParseException.html +++ /dev/null @@ -1,367 +0,0 @@ - - - - - - -Modifier and Type | -Class and Description | -
---|---|
class |
-AlreadySelectedException
-Thrown when more than one option in an option group
- has been provided.
- |
-
class |
-AmbiguousOptionException
-Exception thrown when an option can't be identified from a partial name.
- |
-
class |
-MissingArgumentException
-Thrown when an option requiring an argument
- is not provided with an argument.
- |
-
class |
-MissingOptionException
-Thrown when a required option has not been provided.
- |
-
class |
-UnrecognizedOptionException
-Exception thrown during parsing signalling an unrecognized
- option was seen.
- |
-
Modifier and Type | -Method and Description | -
---|---|
static Class<?> |
-TypeHandler.createClass(String classname)
-Returns the class whose name is
-classname . |
-
static Number |
-TypeHandler.createNumber(String str)
-Create a number from a String.
- |
-
static Object |
-TypeHandler.createObject(String classname)
-Create an Object from the classname and empty constructor.
- |
-
static URL |
-TypeHandler.createURL(String str)
-Returns the URL represented by
-str . |
-
static Object |
-TypeHandler.createValue(String str,
- Class<?> clazz)
-Returns the
-Object of type clazz
- with the value of str . |
-
static Object |
-TypeHandler.createValue(String str,
- Object obj)
-Returns the
-Object of type obj
- with the value of str . |
-
protected String[] |
-PosixParser.flatten(Options options,
- String[] arguments,
- boolean stopAtNonOption)
-Deprecated.
-
- |
-
protected abstract String[] |
-Parser.flatten(Options opts,
- String[] arguments,
- boolean stopAtNonOption)
-Deprecated.
-Subclasses must implement this method to reduce
- the
-arguments that have been passed to the parse method. |
-
Object |
-CommandLine.getParsedOptionValue(String opt)
-Return a version of this
-Option converted to a particular type. |
-
protected void |
-DefaultParser.handleConcatenatedOptions(String token)
-Breaks
-token into its constituent parts
- using the following algorithm. |
-
CommandLine |
-Parser.parse(Options options,
- String[] arguments)
-Deprecated.
-Parses the specified
-arguments based
- on the specified Options . |
-
CommandLine |
-DefaultParser.parse(Options options,
- String[] arguments) |
-
CommandLine |
-CommandLineParser.parse(Options options,
- String[] arguments)
-Parse the arguments according to the specified options.
- |
-
CommandLine |
-Parser.parse(Options options,
- String[] arguments,
- boolean stopAtNonOption)
-Deprecated.
-Parses the specified
-arguments
- based on the specified Options . |
-
CommandLine |
-DefaultParser.parse(Options options,
- String[] arguments,
- boolean stopAtNonOption) |
-
CommandLine |
-CommandLineParser.parse(Options options,
- String[] arguments,
- boolean stopAtNonOption)
-Parse the arguments according to the specified options.
- |
-
CommandLine |
-Parser.parse(Options options,
- String[] arguments,
- Properties properties)
-Deprecated.
-Parse the arguments according to the specified options and properties.
- |
-
CommandLine |
-DefaultParser.parse(Options options,
- String[] arguments,
- Properties properties)
-Parse the arguments according to the specified options and properties.
- |
-
CommandLine |
-Parser.parse(Options options,
- String[] arguments,
- Properties properties,
- boolean stopAtNonOption)
-Deprecated.
-Parse the arguments according to the specified options and
- properties.
- |
-
CommandLine |
-DefaultParser.parse(Options options,
- String[] arguments,
- Properties properties,
- boolean stopAtNonOption)
-Parse the arguments according to the specified options and properties.
- |
-
void |
-Parser.processArgs(Option opt,
- ListIterator<String> iter)
-Deprecated.
-Process the argument values for the specified Option
-
-opt using the values retrieved from the
- specified iterator iter . |
-
protected void |
-Parser.processOption(String arg,
- ListIterator<String> iter)
-Deprecated.
-Process the Option specified by
-arg using the values
- retrieved from the specified iterator iter . |
-
protected void |
-Parser.processProperties(Properties properties)
-Deprecated.
-Sets the values of Options using the values in
-properties . |
-
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/Parser.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/Parser.html deleted file mode 100755 index e0082b8..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/Parser.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - - - -Modifier and Type | -Class and Description | -
---|---|
class |
-BasicParser
-Deprecated.
-
-since 1.3, use the
-DefaultParser instead |
-
class |
-GnuParser
-Deprecated.
-
-since 1.3, use the
-DefaultParser instead |
-
class |
-PosixParser
-Deprecated.
-
-since 1.3, use the
-DefaultParser instead |
-
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/PatternOptionBuilder.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/PatternOptionBuilder.html deleted file mode 100755 index 927eeb6..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/PatternOptionBuilder.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - -Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/PosixParser.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/PosixParser.html deleted file mode 100755 index 6ead563..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/PosixParser.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - -Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/TypeHandler.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/TypeHandler.html deleted file mode 100755 index 8d9090d..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/TypeHandler.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - -Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/UnrecognizedOptionException.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/UnrecognizedOptionException.html deleted file mode 100755 index b3600b0..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/class-use/UnrecognizedOptionException.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - -Modifier and Type | -Class and Description | -
---|---|
class |
-AmbiguousOptionException
-Exception thrown when an option can't be identified from a partial name.
- |
-
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/package-frame.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/package-frame.html deleted file mode 100755 index 24b6d66..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/package-frame.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - -Interface | -Description | -
---|---|
CommandLineParser | -
- A class that implements the
-CommandLineParser interface
- can parse a String array according to the Options specified
- and return a CommandLine . |
-
Class | -Description | -
---|---|
BasicParser | -Deprecated
- since 1.3, use the
-DefaultParser instead |
-
CommandLine | -
- Represents list of arguments parsed against a
-Options descriptor. |
-
CommandLine.Builder | -
- A nested builder class to create
-CommandLine instance
- using descriptive methods. |
-
DefaultParser | -
- Default parser.
- |
-
GnuParser | -Deprecated
- since 1.3, use the
-DefaultParser instead |
-
HelpFormatter | -
- A formatter of help messages for command line options.
- |
-
Option | -
- Describes a single command-line option.
- |
-
Option.Builder | -
- A nested builder class to create
-Option instances
- using descriptive methods. |
-
OptionBuilder | -Deprecated
- since 1.3, use
-Option.builder(String) instead |
-
OptionGroup | -
- A group of mutually exclusive options.
- |
-
Options | -
- Main entry-point into the library.
- |
-
Parser | -Deprecated
- since 1.3, the two-pass parsing with the flatten method is not enough flexible to handle complex cases
- |
-
PatternOptionBuilder | -
- Allows Options to be created from a single String.
- |
-
PosixParser | -Deprecated
- since 1.3, use the
-DefaultParser instead |
-
TypeHandler | -
- This is a temporary implementation.
- |
-
Exception | -Description | -
---|---|
AlreadySelectedException | -
- Thrown when more than one option in an option group
- has been provided.
- |
-
AmbiguousOptionException | -
- Exception thrown when an option can't be identified from a partial name.
- |
-
MissingArgumentException | -
- Thrown when an option requiring an argument
- is not provided with an argument.
- |
-
MissingOptionException | -
- Thrown when a required option has not been provided.
- |
-
ParseException | -
- Base for Exceptions thrown during parsing of a command-line.
- |
-
UnrecognizedOptionException | -
- Exception thrown during parsing signalling an unrecognized
- option was seen.
- |
-
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/package-tree.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/package-tree.html deleted file mode 100755 index e890c24..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/package-tree.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - -Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/package-use.html b/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/package-use.html deleted file mode 100755 index b577cfb..0000000 --- a/libs/commons-cli-1.4/apidocs/org/apache/commons/cli/package-use.html +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - -Class and Description | -
---|
AlreadySelectedException
- Thrown when more than one option in an option group
- has been provided.
- |
-
CommandLine
- Represents list of arguments parsed against a
-Options descriptor. |
-
CommandLine.Builder
- A nested builder class to create
-CommandLine instance
- using descriptive methods. |
-
CommandLineParser
- A class that implements the
-CommandLineParser interface
- can parse a String array according to the Options specified
- and return a CommandLine . |
-
MissingOptionException
- Thrown when a required option has not been provided.
- |
-
Option
- Describes a single command-line option.
- |
-
Option.Builder
- A nested builder class to create
-Option instances
- using descriptive methods. |
-
OptionBuilder
- Deprecated.
-
-since 1.3, use
-Option.builder(String) instead |
-
OptionGroup
- A group of mutually exclusive options.
- |
-
Options
- Main entry-point into the library.
- |
-
ParseException
- Base for Exceptions thrown during parsing of a command-line.
- |
-
Parser
- Deprecated.
-
-since 1.3, the two-pass parsing with the flatten method is not enough flexible to handle complex cases
- |
-
UnrecognizedOptionException
- Exception thrown during parsing signalling an unrecognized
- option was seen.
- |
-
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/overview-tree.html b/libs/commons-cli-1.4/apidocs/overview-tree.html deleted file mode 100755 index 5fb4bb5..0000000 --- a/libs/commons-cli-1.4/apidocs/overview-tree.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - -Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/package-list b/libs/commons-cli-1.4/apidocs/package-list deleted file mode 100755 index f8b2a4d..0000000 --- a/libs/commons-cli-1.4/apidocs/package-list +++ /dev/null @@ -1 +0,0 @@ -org.apache.commons.cli diff --git a/libs/commons-cli-1.4/apidocs/script.js b/libs/commons-cli-1.4/apidocs/script.js deleted file mode 100755 index b346356..0000000 --- a/libs/commons-cli-1.4/apidocs/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/libs/commons-cli-1.4/apidocs/serialized-form.html b/libs/commons-cli-1.4/apidocs/serialized-form.html deleted file mode 100755 index f6ac00a..0000000 --- a/libs/commons-cli-1.4/apidocs/serialized-form.html +++ /dev/null @@ -1,409 +0,0 @@ - - - - - - -OptionGroup group-
Option option-
Collection<E> matchingOptions-
Option option-
String opt-
String longOpt-
String argName-
String description-
boolean required-
boolean optionalArg-
int numberOfArgs-
Class<T> type-
List<E> values-
char valuesep-
String option-
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.
- - diff --git a/libs/commons-cli-1.4/apidocs/stylesheet.css b/libs/commons-cli-1.4/apidocs/stylesheet.css deleted file mode 100755 index 98055b2..0000000 --- a/libs/commons-cli-1.4/apidocs/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.useSummary td.colFirst, .useSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -}