- DateParam - Class in jcmdline
-
A parameter that accepts a date as its value.
- DateParam(String, String) - Constructor for class jcmdline.DateParam
-
constructor - creates single-valued, optional, public parameter
- DateParam(String, String, boolean) - Constructor for class jcmdline.DateParam
-
constructor - creates single-valued, public parameter which will will be
either optional or required, as specified.
- DateParam(String, String, boolean, boolean) - Constructor for class jcmdline.DateParam
-
constructor - creates a public parameter which will will be either
optional or required, and/or multi-valued, as specified.
- DateParam(String, String, boolean, boolean, boolean) - Constructor for class jcmdline.DateParam
-
constructor - creates a parameter which will will be either optional or
required, single or multi-valued, and hidden or public as specified.
- DateParam(String, String, Date[]) - Constructor for class jcmdline.DateParam
-
constructor - creates a single-valued, optional, public, number parameter
whose value must be one of the specified values.
- DateParam(String, String, Date[], boolean) - Constructor for class jcmdline.DateParam
-
constructor - creates a single-valued, public, number parameter whose
value must be one of the specified values, and which is required or
optional, as specified.
- DateParam(String, String, Date[], boolean, boolean) - Constructor for class jcmdline.DateParam
-
constructor - creates a public number parameter whose value must be one
of the specified values, and which is required or optional and/or
multi-valued, as specified.
- DateParam(String, String, Date[], boolean, boolean, boolean) - Constructor for class jcmdline.DateParam
-
constructor - creates a Parameter, all of whose options are specified.
- DateTimeParam - Class in jcmdline
-
A parameter that accepts a date and time as its value.
- DateTimeParam(String, String) - Constructor for class jcmdline.DateTimeParam
-
constructor - creates single-valued, optional, public parameter
- DateTimeParam(String, String, boolean) - Constructor for class jcmdline.DateTimeParam
-
constructor - creates single-valued, public parameter which will will be
either optional or required, as specified.
- DateTimeParam(String, String, boolean, boolean) - Constructor for class jcmdline.DateTimeParam
-
constructor - creates a public parameter which will will be either
optional or required, and/or multi-valued, as specified.
- DateTimeParam(String, String, boolean, boolean, boolean) - Constructor for class jcmdline.DateTimeParam
-
constructor - creates a parameter which will will be either optional or
required, single or multi-valued, and hidden or public as specified.
- DateTimeParam(String, String, Date[]) - Constructor for class jcmdline.DateTimeParam
-
constructor - creates a single-valued, optional, public, number parameter
whose value must be one of the specified values.
- DateTimeParam(String, String, Date[], boolean) - Constructor for class jcmdline.DateTimeParam
-
constructor - creates a single-valued, public, number parameter whose
value must be one of the specified values, and which is required or
optional, as specified.
- DateTimeParam(String, String, Date[], boolean, boolean) - Constructor for class jcmdline.DateTimeParam
-
constructor - creates a public number parameter whose value must be one
of the specified values, and which is required or optional and/or
multi-valued, as specified.
- DateTimeParam(String, String, Date[], boolean, boolean, boolean) - Constructor for class jcmdline.DateTimeParam
-
constructor - creates a Parameter, all of whose options are specified.
- DEFAULT_DIR_OPTION_LABEL - Static variable in class jcmdline.FileParam
-
the default label that will represent option values for this Parameter where
FileParam.IS_DIR
is set.
- DEFAULT_FILE_OPTION_LABEL - Static variable in class jcmdline.FileParam
-
the default label that will represent option values for this Parameter where
FileParam.IS_DIR
is
not set.
- DEFAULT_OPTION_LABEL - Static variable in class jcmdline.IntParam
-
the default label that will represent option values for this Parameter
when displaying usage.
- DEFAULT_OPTION_LABEL - Static variable in class jcmdline.StringParam
-
the default label that will represent option values for this Parameter
when displaying usage.
- DefaultCmdLineHandler - Class in jcmdline
-
A Decorator class that implements command line options for the display of the
command's usage.
- DefaultCmdLineHandler(CmdLineHandler) - Constructor for class jcmdline.DefaultCmdLineHandler
-
constructor
- DefaultCmdLineHandler(String, String, Collection<Parameter<?>>, Collection<Parameter<?>>) - Constructor for class jcmdline.DefaultCmdLineHandler
-
constructor - uses the PosixCmdLineParser to parse the command line
- DefaultCmdLineHandler(String, String, Parameter<?>[], Parameter<?>[]) - Constructor for class jcmdline.DefaultCmdLineHandler
-
constructor - creates a new BasicCmdLineHandler as its delegate
- DefaultCmdLineHandler(String, String, Parameter<?>[], Parameter<?>[], CmdLineParser) - Constructor for class jcmdline.DefaultCmdLineHandler
-
constructor - creates a new BasicCmdLineHandler as its delegate
- desc - Variable in class jcmdline.AbstractParameter
-
a description of the parameter to be displayed in the usage
- DOESNT_EXIST - Static variable in class jcmdline.FileParam
-
indicates that a file or directory specified as a value for this FileParam must not exist
- FileParam - Class in jcmdline
-
Encapsulate a command line parameter whose value will be the name of a file or directory.
- FileParam(String, String) - Constructor for class jcmdline.FileParam
-
constructor - creates single-valued, optional, public parameter which accepts any valid file or directory name as
its value
- FileParam(String, String, boolean) - Constructor for class jcmdline.FileParam
-
constructor - creates single-valued, public parameter which accepts any valid file or directory name as its value
and is optional or required, as specified.
- FileParam(String, String, int) - Constructor for class jcmdline.FileParam
-
constructor - creates a single-valued, optional, public, parameter accepts a file or directory name with the
specified attributes.
- FileParam(String, String, int, boolean) - Constructor for class jcmdline.FileParam
-
constructor - creates a single-valued, public, parameter that accepts a file or directory name with the specified
attributes, and which is required or optional, as specified.
- FileParam(String, String, int, boolean, boolean) - Constructor for class jcmdline.FileParam
-
constructor - creates a public parameter that accepts a file or directory name with the specified attributes, and
which is required or optional and/or multi-valued, as specified.
- FileParam(String, String, int, boolean, boolean, boolean) - Constructor for class jcmdline.FileParam
-
constructor - creates a parameter that accepts a file or directory name with the specified attributes, and which
is required or optional and/or multi-valued or hidden, as specified.
- formatBlockedText(String, int, int) - Method in class jcmdline.StringFormatHelper
-
Splits the specified String into lines that are indented by the specified indent and are of length less than or
equal to the specified line length.
- formatErrorMsg(String) - Method in class jcmdline.TextUsageFormatter
-
Gets an error message, reformatted in a manner to "go well with" the usage statement.
- formatErrorMsg(String) - Method in interface jcmdline.UsageFormatter
-
Gets an error message, reformatted in a manner to "go well with" the
usage statement.
- formatHangingIndent(String, int, int) - Method in class jcmdline.StringFormatHelper
-
Formats a string with a hanging indent.
- formatLabeledList(String[], String[], String, int, int) - Method in class jcmdline.StringFormatHelper
-
Formats a "labeled list" (like a bullet or numbered list, only with labels for each item).
- formatText(String, int, int) - Method in class jcmdline.TextUsageFormatter
-
- formatUsage(String, String, Map<String, Parameter<?>>, List<Parameter<?>>, boolean) - Method in class jcmdline.TextUsageFormatter
-
gets the usage for the command
- formatUsage(String, String, Map<String, Parameter<?>>, List<Parameter<?>>, boolean) - Method in interface jcmdline.UsageFormatter
-
Gets the usage for the command.
- get(String) - Static method in class jcmdline.Strings
-
Gets a String.
- get(String, Object[]) - Static method in class jcmdline.Strings
-
Gets a String, filling in the supplied parameters.
- getAcceptableValues() - Method in class jcmdline.AbstractParameter
-
- getAcceptableValues() - Method in interface jcmdline.Parameter
-
Gets the values that are acceptable for this parameter, if a restricted
set exists.
- getArg(String) - Method in class jcmdline.AbstractHandlerDecorator
-
gets the argument specified by tag
- getArg(String) - Method in class jcmdline.BasicCmdLineHandler
-
gets the argument specified by tag
- getArg(String) - Method in interface jcmdline.CmdLineHandler
-
gets the argument specified by tag
- getArgs() - Method in class jcmdline.AbstractHandlerDecorator
-
gets the value of the arguments (what is left on the command line after
all options, and their parameters, have been processed) associated with
the command
- getArgs() - Method in class jcmdline.BasicCmdLineHandler
-
gets the value of the arguments (what is left on the command line after
all options, and their parameters, have been processed) associated with
the command
- getArgs() - Method in interface jcmdline.CmdLineHandler
-
gets the value of the arguments (what is left on the command line after
all options, and their parameters, have been processed) associated with
the command
- getAttributes() - Method in class jcmdline.FileParam
-
gets the value of attributes
- getCmdDesc() - Method in class jcmdline.AbstractHandlerDecorator
-
gets a description of the command's purpose
- getCmdDesc() - Method in class jcmdline.BasicCmdLineHandler
-
gets a description of the command's purpose
- getCmdDesc() - Method in interface jcmdline.CmdLineHandler
-
gets a description of the command's purpose
- getCmdName() - Method in class jcmdline.AbstractHandlerDecorator
-
gets the value of the command name associated with this CmdLineHandler
- getCmdName() - Method in class jcmdline.BasicCmdLineHandler
-
gets the value of the command name associated with this
BasicCmdLineHandler
- getCmdName() - Method in interface jcmdline.CmdLineHandler
-
gets the value of the command name associated with this CmdLineHandler
- getCustomOptions() - Method in class jcmdline.AbstractHandlerDecorator
-
Gets options specific to a subclass.
- getDatePortion() - Method in class jcmdline.TimeParam
-
- getDefaultMilliSeconds() - Method in class jcmdline.DateTimeParam
-
Gets the default millisecond value to use if not specified by the user.
- getDefaultMilliSeconds() - Method in class jcmdline.TimeParam
-
Gets the default millisecond value to use if not specified by the user.
- getDefaultSeconds() - Method in class jcmdline.DateTimeParam
-
Gets the seconds default to use if not specified by the user.
- getDefaultSeconds() - Method in class jcmdline.TimeParam
-
Gets the seconds default to use if not specified by the user.
- getDefaultTime() - Method in class jcmdline.DateParam
-
Gets default values for the time component used to generate the Date
value.
- getDefaultValue() - Method in class jcmdline.BooleanParam
-
Gets the default value of this Parameter when used as a command line
option, and specified just by its tag.
- getDefaultValue() - Method in interface jcmdline.OptionTakesNoValue
-
- getDesc() - Method in class jcmdline.AbstractParameter
-
- getDesc() - Method in interface jcmdline.Parameter
-
gets the value of the parameter's description
- getDieOnParseError() - Method in class jcmdline.AbstractHandlerDecorator
-
Gets a flag indicating that the program should exit in the case of a
parse error (after displaying the usage and an error message).
- getDieOnParseError() - Method in class jcmdline.BasicCmdLineHandler
-
Gets a flag indicating that the program should exit in the case of a
parse error (after displaying the usage and an error message).
- getDieOnParseError() - Method in interface jcmdline.CmdLineHandler
-
Gets a flag indicating that the program should exit in the case of a
parse error (after displaying the usage and an error message).
- getHelper() - Static method in class jcmdline.StringFormatHelper
-
Gets the one and only instance of the StringFormatHelper
- getIgnoreRequired() - Method in class jcmdline.AbstractParameter
-
- getIgnoreRequired() - Method in interface jcmdline.Parameter
-
Gets the flag indicating that during parse, missing required Parameters
are ignored if this Parameter is set.
- getLineLength() - Method in class jcmdline.TextUsageFormatter
-
Gets the maximum line length to use for usage display.
- getLineLength() - Method in interface jcmdline.UsageFormatter
-
Gets the maximum line length to use for usage display.
- getLogFormatter() - Method in class jcmdline.LoggerCmdLineHandler
-
Gets the formatter for log messages, defaults to
java.util.logging.SimpleFormatter
.
- getMax() - Method in class jcmdline.IntParam
-
gets the maximum acceptable value for the parameter
- getMaxValLen() - Method in class jcmdline.StringParam
-
gets the value of the maximum acceptable length for the string value
- getMin() - Method in class jcmdline.IntParam
-
gets minimum acceptable value for the parameter's value
- getMinValLen() - Method in class jcmdline.StringParam
-
gets the value of the minimum acceptable length for the string value
- getOption(String) - Method in class jcmdline.AbstractHandlerDecorator
-
gets the option specified by tag
- getOption(String) - Method in class jcmdline.BasicCmdLineHandler
-
gets the option specified by tag
- getOption(String) - Method in interface jcmdline.CmdLineHandler
-
gets the option specified by tag
- getOptionLabel() - Method in class jcmdline.AbstractParameter
-
- getOptionLabel() - Method in interface jcmdline.Parameter
-
gets the value of optionLabel
- getOptions() - Method in class jcmdline.AbstractHandlerDecorator
-
gets the value of the options associated with the command
- getOptions() - Method in class jcmdline.BasicCmdLineHandler
-
gets the value of the options associated with the command
- getOptions() - Method in interface jcmdline.CmdLineHandler
-
gets the value of the options associated with the command
- getParseError() - Method in class jcmdline.AbstractHandlerDecorator
-
Gets the error message from the last call to parse().
- getParseError() - Method in class jcmdline.BasicCmdLineHandler
-
Gets the error message from the last call to parse().
- getParseError() - Method in interface jcmdline.CmdLineHandler
-
Gets the error message from the last call to parse().
- getParseFormat() - Static method in class jcmdline.DateTimeParam
-
Gets the format used to parse the date/time values.
- getParser() - Method in class jcmdline.AbstractHandlerDecorator
-
Gets the parser to be used to parse the command line.
- getParser() - Method in class jcmdline.BasicCmdLineHandler
-
Gets the parser to be used to parse the command line.
- getParser() - Method in interface jcmdline.CmdLineHandler
-
Gets the parser to be used to parse the command line.
- getTag() - Method in class jcmdline.AbstractParameter
-
- getTag() - Method in interface jcmdline.Parameter
-
gets the value of tag
- getUsage(boolean) - Method in class jcmdline.AbstractHandlerDecorator
-
Gets the usage statement associated with the command.
- getUsage(boolean) - Method in class jcmdline.BasicCmdLineHandler
-
Gets the usage statement associated with the command.
- getUsage(boolean) - Method in interface jcmdline.CmdLineHandler
-
Gets the usage statement associated with the command.
- getUsageFormatter() - Method in interface jcmdline.CmdLineParser
-
Gets a usage formatter suitable for this CmdLineParser's format.
- getUsageFormatter() - Method in class jcmdline.PosixCmdLineParser
-
Gets a usage formatter suitable for this CmdLineParser's format.
- getValue() - Method in class jcmdline.AbstractParameter
-
- getValue() - Method in interface jcmdline.Parameter
-
The value of the parameter, in the case where the parameter is not
multi-valued.
- getValues() - Method in class jcmdline.AbstractParameter
-
- getValues() - Method in interface jcmdline.Parameter
-
gets the values associated with this Parameter - the List will be in the
order the values were listed on the command line.
- ignoreRequired - Variable in class jcmdline.AbstractParameter
-
During parse, ignore missing required Parameters if this Parameter is
set.
- IntParam - Class in jcmdline
-
Encapsulate a command line parameter whose value will be a signed integer in
the same range as a java int.
- IntParam(String, String) - Constructor for class jcmdline.IntParam
-
constructor - creates single-valued, optional, public parameter which
will accept an integer between Integer.MIN_VALUE and Integer.MAX_VALUE.
- IntParam(String, String, boolean) - Constructor for class jcmdline.IntParam
-
constructor - creates single-valued, public parameter which will accept
an integer between Integer.MIN_VALUE and Integer.MAX_VALUE, and will be
either optional or required, as specified.
- IntParam(String, String, boolean, boolean) - Constructor for class jcmdline.IntParam
-
constructor - creates a public parameter which will accept an integer
between Integer.MIN_VALUE and Integer.MAX_VALUE, and will be either
optional or required, and/or multi-valued, as specified.
- IntParam(String, String, boolean, boolean, boolean) - Constructor for class jcmdline.IntParam
-
constructor - creates a parameter which will accept an integer between
Integer.MIN_VALUE and Integer.MAX_VALUE, and will be either optional or
required, and/or multi-valued, as specified.
- IntParam(String, String, int, int) - Constructor for class jcmdline.IntParam
-
constructor - creates a single-valued, optional, public, parameter that
will accept an integer between the specifed minimum and maximum values.
- IntParam(String, String, int, int, boolean) - Constructor for class jcmdline.IntParam
-
constructor - creates a single-valued, public parameter that will accept
an integer between the specifed minimum and maximum values, and which is
required or optional, as specified.
- IntParam(String, String, int, int, boolean, boolean) - Constructor for class jcmdline.IntParam
-
constructor - creates a public parameter that will accept an integer
between the specifed minimum and maximum values, and which is required or
optional and/or multi-valued, as specified.
- IntParam(String, String, int, int, boolean, boolean, boolean) - Constructor for class jcmdline.IntParam
-
constructor - creates a parameter that will accept an integer between the
specifed minimum and maximum values, and for which all other options are
specified.
- IntParam(String, String, Integer[]) - Constructor for class jcmdline.IntParam
-
constructor - creates a single-valued, optional, public, number parameter
whose value must be one of the specified values.
- IntParam(String, String, Integer[], boolean) - Constructor for class jcmdline.IntParam
-
constructor - creates a single-valued, public, number parameter whose
value must be one of the specified values, and which is required or
optional, as specified.
- IntParam(String, String, Integer[], boolean, boolean) - Constructor for class jcmdline.IntParam
-
constructor - creates a public number parameter whose value must be one
of the specified values, and which is required or optional and/or
multi-valued, as specified.
- IntParam(String, String, Integer[], boolean, boolean, boolean) - Constructor for class jcmdline.IntParam
-
constructor - creates a number parameter whose value must be one of the
specified values, and all of whose other options are specified.
- IS_DIR - Static variable in class jcmdline.FileParam
-
indicates that a value specified for this FileParam must name an existing directory
- IS_FILE - Static variable in class jcmdline.FileParam
-
indicates that a value specified for this FileParam must name an existing file
- IS_READABLE - Static variable in class jcmdline.FileParam
-
indicates that a value specified for this FileParam must name an existing file or directory for which the caller
has read access
- IS_WRITEABLE - Static variable in class jcmdline.FileParam
-
indicates that a value specified for this FileParam must name an existing file or directory for which the caller
has write access
- isHidden() - Method in class jcmdline.AbstractParameter
-
- isHidden() - Method in interface jcmdline.Parameter
-
gets the value of the hidden indicator
- isMultiValued() - Method in class jcmdline.AbstractParameter
-
- isMultiValued() - Method in interface jcmdline.Parameter
-
gets the value of multiValued indicator
- isOptional() - Method in class jcmdline.AbstractParameter
-
- isOptional() - Method in interface jcmdline.Parameter
-
returns the value of the optional indicator
- isSet() - Method in class jcmdline.AbstractParameter
-
- isSet() - Method in interface jcmdline.Parameter
-
gets an indicator that the parameter's value has been set
- isTrue() - Method in class jcmdline.BooleanParam
-
Returns the value of the parameter as a boolean.
- set - Variable in class jcmdline.AbstractParameter
-
indicates that the value of the parameter has been set
- setAcceptableValues(Collection<T>) - Method in class jcmdline.AbstractParameter
-
- setAcceptableValues(T[]) - Method in class jcmdline.AbstractParameter
-
- setAcceptableValues(Collection<T>) - Method in interface jcmdline.Parameter
-
Sets the values that are acceptable for this parameter, if a restricted
set exists.
- setAcceptableValues(T[]) - Method in interface jcmdline.Parameter
-
Sets the values that are acceptable for this parameter, if a restricted
set exists.
- setArgs(Parameter<?>[]) - Method in class jcmdline.AbstractHandlerDecorator
-
sets the value of the arguments (what is left on the command line after
all options, and their parameters, have been processed) associated with
the command
- setArgs(Parameter<?>[]) - Method in class jcmdline.BasicCmdLineHandler
-
sets the value of the arguments (what is left on the command line after
all options, and their parameters, have been processed) associated with
the command
- setArgs(Parameter<?>[]) - Method in interface jcmdline.CmdLineHandler
-
sets the value of the arguments (what is left on the command line after
all options, and their parameters, have been processed) associated with
the command
- setAttributes(int) - Method in class jcmdline.FileParam
-
Sets the value of attributes.
- setCmdDesc(String) - Method in class jcmdline.AbstractHandlerDecorator
-
sets a description of the command's purpose
- setCmdDesc(String) - Method in class jcmdline.BasicCmdLineHandler
-
sets a description of the command's purpose
- setCmdDesc(String) - Method in interface jcmdline.CmdLineHandler
-
sets a description of the command's purpose
- setCmdName(String) - Method in class jcmdline.AbstractHandlerDecorator
-
sets the value of the command name associated with this CmdLineHandler
- setCmdName(String) - Method in class jcmdline.BasicCmdLineHandler
-
sets the value of the command name associated with this
BasicCmdLineHandler
- setCmdName(String) - Method in interface jcmdline.CmdLineHandler
-
sets the value of the command name associated with this CmdLineHandler
- setCustomOptions(Parameter<?>[]) - Method in class jcmdline.AbstractHandlerDecorator
-
Sets options specific to a subclass.
- setDatePortion(Date) - Method in class jcmdline.TimeParam
-
- setDefaultMilliSeconds(int) - Method in class jcmdline.DateTimeParam
-
Sets the default millisecond value to use if not specified by the user.
- setDefaultMilliSeconds(int) - Method in class jcmdline.TimeParam
-
Sets the default millisecond value to use if not specified by the user.
- setDefaultSeconds(int) - Method in class jcmdline.DateTimeParam
-
Sets the seconds default to use if not specified by the user.
- setDefaultSeconds(int) - Method in class jcmdline.TimeParam
-
Sets the seconds default to use if not specified by the user.
- setDefaultTime(int, int, int, int) - Method in class jcmdline.DateParam
-
Sets default values for the time component used to generate the Date
value.
- setDesc(String) - Method in class jcmdline.AbstractParameter
-
- setDesc(String) - Method in interface jcmdline.Parameter
-
sets the value of this parameter's description
- setDieOnParseError(boolean) - Method in class jcmdline.AbstractHandlerDecorator
-
Sets a flag indicating that the program should exit in the case of a
parse error (after displaying the usage and an error message).
- setDieOnParseError(boolean) - Method in class jcmdline.BasicCmdLineHandler
-
Sets a flag indicating that the program should exit in the case of a
parse error (after displaying the usage and an error message) - defaults
to true
.
- setDieOnParseError(boolean) - Method in interface jcmdline.CmdLineHandler
-
Sets a flag indicating that the program should exit in the case of a
parse error (after displaying the usage and an error message) - defaults
to true
.
- setHidden(boolean) - Method in class jcmdline.AbstractParameter
-
- setHidden(boolean) - Method in interface jcmdline.Parameter
-
sets the value of the hidden indicator
- setIgnoreRequired(boolean) - Method in class jcmdline.AbstractParameter
-
- setIgnoreRequired(boolean) - Method in interface jcmdline.Parameter
-
Sets a flag such that during parse, missing required Parameters are
ignored if this Parameter is set.
- setLineLength(int) - Method in class jcmdline.TextUsageFormatter
-
Sets the maximum line length to use for usage display - default is 80.
- setLineLength(int) - Method in interface jcmdline.UsageFormatter
-
Sets the maximum line length to use for usage display.
- setLogFormatter(Formatter) - Method in class jcmdline.LoggerCmdLineHandler
-
Sets the formatter for log messages, defaults to
java.util.logging.SimpleFormatter
.
- setMax(int) - Method in class jcmdline.IntParam
-
Sets the maximum acceptable value for the parameter.
- setMaxLength(int) - Method in class jcmdline.StringParam
-
- setMaxValLen(int) - Method in class jcmdline.StringParam
-
sets the value of the maximum acceptable length for the string value
- setMin(int) - Method in class jcmdline.IntParam
-
Sets the minimum acceptable value for the parameter's value.
- setMinValLen(int) - Method in class jcmdline.StringParam
-
sets the value of the minimum acceptable length for the string value
- setMultiValued(boolean) - Method in class jcmdline.AbstractParameter
-
- setMultiValued(boolean) - Method in interface jcmdline.Parameter
-
sets the value of the multiValued indicator
- setOptional(boolean) - Method in class jcmdline.AbstractParameter
-
- setOptional(boolean) - Method in interface jcmdline.Parameter
-
indicates whether or not the parameter is optional
- setOptionLabel(String) - Method in class jcmdline.AbstractParameter
-
- setOptionLabel(String) - Method in interface jcmdline.Parameter
-
Sets the value of optionLabel.
- setOptions(Parameter<?>[]) - Method in class jcmdline.AbstractHandlerDecorator
-
Sets the value of the options associated with the command
- setOptions(Parameter<?>[]) - Method in class jcmdline.BasicCmdLineHandler
-
Sets the value of the options associated with the command
- setOptions(Parameter<?>[]) - Method in interface jcmdline.CmdLineHandler
-
Sets the value of the options associated with the command
- setParseError(String) - Method in class jcmdline.AbstractHandlerDecorator
-
Sets the error message from the last call to parse().
- setParseError(String) - Method in class jcmdline.BasicCmdLineHandler
-
Sets the error message from the last call to parse().
- setParseError(String) - Method in interface jcmdline.CmdLineHandler
-
Sets the error message from the last call to parse().
- setParser(CmdLineParser) - Method in class jcmdline.AbstractHandlerDecorator
-
Sets the parser to be used to parse the command line.
- setParser(CmdLineParser) - Method in class jcmdline.BasicCmdLineHandler
-
Sets the parser to be used to parse the command line.
- setParser(CmdLineParser) - Method in interface jcmdline.CmdLineHandler
-
Sets the parser to be used to parse the command line.
- setTag(String) - Method in class jcmdline.AbstractParameter
-
- setTag(String) - Method in interface jcmdline.Parameter
-
sets the value of tag
- setUsageFormatter(UsageFormatter) - Method in interface jcmdline.CmdLineParser
-
Sets a usage formatter suitable for this CmdLineParser's format.
- setUsageFormatter(UsageFormatter) - Method in class jcmdline.PosixCmdLineParser
-
Sets a usage formatter suitable for this CmdLineParser's format.
- setValue(T) - Method in class jcmdline.AbstractParameter
-
- setValue(T) - Method in interface jcmdline.Parameter
-
Sets the value of the parameter to the specified string.
- setValues(List<T>) - Method in class jcmdline.AbstractParameter
-
- setValues(T[]) - Method in class jcmdline.AbstractParameter
-
- setValues(List<T>) - Method in interface jcmdline.Parameter
-
Sets the values of the parameter to those specified.
- setValues(T[]) - Method in interface jcmdline.Parameter
-
Sets the values of the parameter to those specified.
- SINGLE_VALUED - Static variable in interface jcmdline.Parameter
-
when used as a value for the multiValued
indicator,
specifies that a parameter accepts only one value
- StringFormatHelper - Class in jcmdline
-
A class used to facilitate common String formatting tasks.
- StringParam - Class in jcmdline
-
Encapsulate a command line parameter whose value will be a string.
- StringParam(String, String) - Constructor for class jcmdline.StringParam
-
constructor - creates single-valued, optional, parameter accepting a
string value of any length
- StringParam(String, String, boolean) - Constructor for class jcmdline.StringParam
-
constructor - creates single-valued, parameter accepting a string value
of any length, and either optional or required, as specified.
- StringParam(String, String, int, int) - Constructor for class jcmdline.StringParam
-
constructor - creates a single-valued, optional, parameter accepting a
value whose length is within the specified minimum and maximum lengths.
- StringParam(String, String, int, int, boolean) - Constructor for class jcmdline.StringParam
-
constructor - creates a single-valued, parameter accepting a value whose
length is within the specified minimum and maximum lengths, and is
optional or required, as specified.
- StringParam(String, String, int, int, boolean, boolean) - Constructor for class jcmdline.StringParam
-
constructor - creates a single-valued, parameter accepting a value whose
length is within the specified minimum and maximum lengths, and optional
and/or multi-valued, as specified
- StringParam(String, String, int, int, boolean, boolean, boolean) - Constructor for class jcmdline.StringParam
-
constructor - creates a single-valued, parameter accepting a value whose
length is within the specified minimum and maximum lengths, with all
other options specified.
- StringParam(String, String, String[]) - Constructor for class jcmdline.StringParam
-
constructor - creates a single-valued, optional, string parameter whose
value must be one of the specified values.
- StringParam(String, String, String[], boolean) - Constructor for class jcmdline.StringParam
-
constructor - creates a single-valued, string parameter whose value must
be a specified value, and which is optional or required, as specified.
- StringParam(String, String, String[], boolean, boolean) - Constructor for class jcmdline.StringParam
-
constructor - creates a string parameter whose value must be a specified
value and is optional and/or * multi-valued, as specified.
- StringParam(String, String, String[], boolean, boolean, boolean) - Constructor for class jcmdline.StringParam
-
constructor - creates a string parameter whose value must be a specified
value and all other options are as specified.
- Strings - Class in jcmdline
-
A helper class used to obtain Strings for this package.
- Strings() - Constructor for class jcmdline.Strings
-
- tag - Variable in class jcmdline.AbstractParameter
-
the tag which uniquely identifies the parameter, and will be used to
identify the parameter on the command line if the parameter is used as an
option
- TextUsageFormatter - Class in jcmdline
-
Used to format a command's usage.
- TextUsageFormatter() - Constructor for class jcmdline.TextUsageFormatter
-
constructor
- TimeParam - Class in jcmdline
-
A parameter that accepts a time as its value.
- TimeParam(String, String) - Constructor for class jcmdline.TimeParam
-
constructor - creates single-valued, optional, public parameter, with a
default datePortion of the current day
- TimeParam(String, String, boolean) - Constructor for class jcmdline.TimeParam
-
constructor - creates single-valued, public parameter which will will be
either optional or required, as specified, with a default datePortion of
the current day
- TimeParam(String, String, boolean, boolean) - Constructor for class jcmdline.TimeParam
-
constructor - creates a public parameter which will will be either
optional or required, and/or multi-valued, as specified, with a default
datePortion of the current day
- TimeParam(String, String, boolean, boolean, boolean) - Constructor for class jcmdline.TimeParam
-
constructor - creates a parameter which will will be either optional or
required, single or multi-valued, and hidden or public as specified, with
a default datePortion of the current day
- TimeParam(String, String, Date[]) - Constructor for class jcmdline.TimeParam
-
constructor - creates a single-valued, optional, public, number parameter
whose value must be one of the specified values, with a default
datePortion of the current day
- TimeParam(String, String, Date[], boolean) - Constructor for class jcmdline.TimeParam
-
constructor - creates a single-valued, public, number parameter whose
value must be one of the specified values, and which is required or
optional, as specified, with a default datePortion of the current day
- TimeParam(String, String, Date[], boolean, boolean) - Constructor for class jcmdline.TimeParam
-
constructor - creates a public number parameter whose value must be one
of the specified values, and which is required or optional and/or
multi-valued, as specified, with a default datePortion of the current day
- TimeParam(String, String, Date[], boolean, boolean, boolean) - Constructor for class jcmdline.TimeParam
-
constructor - creates a Parameter, all of whose options are specified,
with a default datePortion of the current day