Skip navigation links
A C E F G H I L O P Q R S T U V X 

A

AbstractArgsException(String[], String, String) - Constructor for exception org.refcodes.console.exceptions.impls.AbstractConsoleException.AbstractArgsException
AbstractArgsException(String[], String, Throwable, String) - Constructor for exception org.refcodes.console.exceptions.impls.AbstractConsoleException.AbstractArgsException
AbstractArgsException(String[], String, Throwable) - Constructor for exception org.refcodes.console.exceptions.impls.AbstractConsoleException.AbstractArgsException
AbstractArgsException(String[], String) - Constructor for exception org.refcodes.console.exceptions.impls.AbstractConsoleException.AbstractArgsException
AbstractArgsException(String[], Throwable, String) - Constructor for exception org.refcodes.console.exceptions.impls.AbstractConsoleException.AbstractArgsException
AbstractArgsException(String[], Throwable) - Constructor for exception org.refcodes.console.exceptions.impls.AbstractConsoleException.AbstractArgsException
AbstractCliException(ExitCode, String, String) - Constructor for exception org.refcodes.console.exceptions.impls.AbstractConsoleException.AbstractCliException
AbstractCliException(ExitCode, String, Throwable, String) - Constructor for exception org.refcodes.console.exceptions.impls.AbstractConsoleException.AbstractCliException
AbstractCliException(ExitCode, String, Throwable) - Constructor for exception org.refcodes.console.exceptions.impls.AbstractConsoleException.AbstractCliException
AbstractCliException(ExitCode, String) - Constructor for exception org.refcodes.console.exceptions.impls.AbstractConsoleException.AbstractCliException
AbstractCliException(ExitCode, Throwable, String) - Constructor for exception org.refcodes.console.exceptions.impls.AbstractConsoleException.AbstractCliException
AbstractCliException(ExitCode, Throwable) - Constructor for exception org.refcodes.console.exceptions.impls.AbstractConsoleException.AbstractCliException
AbstractCondition - Class in org.refcodes.console.impls
The AbstractCondition is an abstract implementation of an Condition providing the boiler plate when implementing the Condition interface.
AbstractCondition(Syntaxable...) - Constructor for class org.refcodes.console.impls.AbstractCondition
 
AbstractConsoleException - Exception in org.refcodes.console.exceptions.impls
Base exception for the console artifact.
AbstractConsoleException(String, String) - Constructor for exception org.refcodes.console.exceptions.impls.AbstractConsoleException
AbstractConsoleException(String, Throwable, String) - Constructor for exception org.refcodes.console.exceptions.impls.AbstractConsoleException
AbstractConsoleException(String, Throwable) - Constructor for exception org.refcodes.console.exceptions.impls.AbstractConsoleException
AbstractConsoleException(String) - Constructor for exception org.refcodes.console.exceptions.impls.AbstractConsoleException
AbstractConsoleException(Throwable, String) - Constructor for exception org.refcodes.console.exceptions.impls.AbstractConsoleException
AbstractConsoleException(Throwable) - Constructor for exception org.refcodes.console.exceptions.impls.AbstractConsoleException
AbstractConsoleException.AbstractArgsException - Exception in org.refcodes.console.exceptions.impls
This abstract exception is the base exception for all command line argument related exceptions.
AbstractConsoleException.AbstractCliException - Exception in org.refcodes.console.exceptions.impls
 
AbstractOperand<T> - Class in org.refcodes.console.impls
The AbstractOperand is an abstract implementation of an Operand providing the boiler plate when implementing the Operand interface.
AbstractOperand(Class<T>, String, String) - Constructor for class org.refcodes.console.impls.AbstractOperand
Constructs a Operand with the given arguments.
AbstractOption<T> - Class in org.refcodes.console.impls
The AbstractOption is an abstract implementation of an Option providing the boiler plate when implementing the Option interface.
AbstractOption(String, String, Class<T>, String, String) - Constructor for class org.refcodes.console.impls.AbstractOption
Constructs a Option with the given arguments.
AbstractOption(String, String, Class<T>, String) - Constructor for class org.refcodes.console.impls.AbstractOption
Constructs a Option with the given arguments.
AbstractSyntaxable - Class in org.refcodes.console.impls
The AbstractSyntaxable just implements the #evalArgs(String[]) method which delegates to the Syntaxable.parseArgs(String[]) method and determines the superfluous arguments.
AbstractSyntaxable() - Constructor for class org.refcodes.console.impls.AbstractSyntaxable
 
addChild(Syntaxable) - Method in class org.refcodes.console.impls.AbstractCondition
 
AmbiguousArgsException - Exception in org.refcodes.console.exceptions.impls
Thrown in case at least one command line argument is ambiguous regarding expected args vs. provided args.
AmbiguousArgsException(String[], String, String) - Constructor for exception org.refcodes.console.exceptions.impls.AmbiguousArgsException
AmbiguousArgsException(String[], String, Throwable, String) - Constructor for exception org.refcodes.console.exceptions.impls.AmbiguousArgsException
AmbiguousArgsException(String[], String, Throwable) - Constructor for exception org.refcodes.console.exceptions.impls.AmbiguousArgsException
AmbiguousArgsException(String[], String) - Constructor for exception org.refcodes.console.exceptions.impls.AmbiguousArgsException
AmbiguousArgsException(String[], Throwable, String) - Constructor for exception org.refcodes.console.exceptions.impls.AmbiguousArgsException
AmbiguousArgsException(String[], Throwable) - Constructor for exception org.refcodes.console.exceptions.impls.AmbiguousArgsException
AndConditionImpl - Class in org.refcodes.console.impls
An AndConditionImpl represents a list of Syntaxable instances of which all are be parsed successfully when the Syntaxables' Syntaxable.parseArgs(String[]) methods are invoked.
AndConditionImpl(Syntaxable...) - Constructor for class org.refcodes.console.impls.AndConditionImpl
 
ArgsAccessor - Interface in org.refcodes.console.mixins
Provides an accessor for a command line arguments (short "args") array.
ArgsAccessor.ArgsMutator - Interface in org.refcodes.console.mixins
Provides a mutator for a args property.
ArgsAccessor.ArgsProperty - Interface in org.refcodes.console.mixins
Provides a args property.
ArgsMismatchException - Exception in org.refcodes.console.exceptions.impls
Thrown in case a command line arguments mismatch regarding provided and expected args.
ArgsMismatchException(String[], String, String) - Constructor for exception org.refcodes.console.exceptions.impls.ArgsMismatchException
ArgsMismatchException(String[], String, Throwable, String) - Constructor for exception org.refcodes.console.exceptions.impls.ArgsMismatchException
ArgsMismatchException(String[], String, Throwable) - Constructor for exception org.refcodes.console.exceptions.impls.ArgsMismatchException
ArgsMismatchException(String[], String) - Constructor for exception org.refcodes.console.exceptions.impls.ArgsMismatchException
ArgsMismatchException(String[], Throwable, String) - Constructor for exception org.refcodes.console.exceptions.impls.ArgsMismatchException
ArgsMismatchException(String[], Throwable) - Constructor for exception org.refcodes.console.exceptions.impls.ArgsMismatchException
ArgsParser - Interface in org.refcodes.console
The ArgsParser provides means for parsing command line arguments and constructing a command line utility's help output.
ArgsParserImpl - Class in org.refcodes.console.impls
A straightforward implementation of the ArgsParser interface.
ArgsParserImpl(Condition) - Constructor for class org.refcodes.console.impls.ArgsParserImpl
Constructs the ArgsParser instance with the given root Condition and the default SyntaxNotation.REFCODES.

C

compareTo(Operand<?>) - Method in class org.refcodes.console.impls.AbstractOperand
Condition - Interface in org.refcodes.console
The Condition interface represents a node in the command line arguments syntax tree; simply extending the Syntaxable interface and adding the functionality of providing access to the added Operands (leafs).
ConsoleConsts - Interface in org.refcodes.console.consts
Constant definitions used by the refcodes-console artifact.
ConsoleSyntaxByDeclaration - Class in org.refcodes.console.statics
 
ConsoleSyntaxByDeclaration() - Constructor for class org.refcodes.console.statics.ConsoleSyntaxByDeclaration
 
ConsoleUtility - Class in org.refcodes.console.utilities
This utility class provides method useful for the refcodes-console artifact and whose implementation has been motivated by the implementation of the refcodes-console artifact.
contains(String[], String) - Static method in class org.refcodes.console.utilities.ConsoleUtility
Determines whether a given String is contained in the given String array.

E

evalArgs(String[]) - Method in interface org.refcodes.console.ArgsParser
Evaluates the provided command line arguments and determines the according values by evaluating the root Condition.
evalArgs(String[]) - Method in class org.refcodes.console.impls.ArgsParserImpl
Evaluates the provided command line arguments and determines the according values by evaluating the root Condition.
ExitCode - Enum in org.refcodes.console.consts
Some default exit codes defined for CLI applications.

F

ForceSwitchImpl - Class in org.refcodes.console.impls
A predefined force switch.
ForceSwitchImpl(String) - Constructor for class org.refcodes.console.impls.ForceSwitchImpl
Constructs the predefined help switch.

G

getArgs() - Method in exception org.refcodes.console.exceptions.impls.AbstractConsoleException.AbstractArgsException
Retrieves the command line arguments from the args property.
getArgs() - Method in class org.refcodes.console.impls.AbstractOperand
When being parsed via the Syntaxable.parseArgs(String[]) method, then the Operand.getArgs() method returns the command line arguments representing this Operand instance (also including the short or the long options, see Operand).
getArgs() - Method in interface org.refcodes.console.mixins.ArgsAccessor
Retrieves the command line arguments from the args property.
getArgs() - Method in interface org.refcodes.console.Operand
When being parsed via the Syntaxable.parseArgs(String[]) method, then the Operand.getArgs() method returns the command line arguments representing this Operand instance (also including the short or the long options, see Operand).
getChildren() - Method in class org.refcodes.console.impls.AbstractCondition
 
getDescription() - Method in class org.refcodes.console.impls.AbstractOperand
getLongOption() - Method in class org.refcodes.console.impls.AbstractOption
TODO: Make the option to be required without the hyphen-minuses "--" Returns the long-option representing an Option instance.
getLongOption() - Method in interface org.refcodes.console.Option
TODO: Make the option to be required without the hyphen-minuses "--" Returns the long-option representing an Option instance.
getOptionArgument(Option<?>, String[]) - Static method in class org.refcodes.console.utilities.ConsoleUtility
Takes the Option's short-option and long-option and tries to determine that Option's value in the provided command line arguments.
getParameterName() - Method in class org.refcodes.console.impls.AbstractOperand
Retrieves the name of the parameter value which can be the name of the operand (Operand) or the option argument (Option), depending on the sub-type inheriting from this interface.
getParameterName() - Method in interface org.refcodes.console.Operand
Retrieves the name of the parameter value which can be the name of the operand (Operand) or the option argument (Option), depending on the sub-type inheriting from this interface.
getRootCondition() - Method in interface org.refcodes.console.ArgsParser
The root condition is the starting point node of a Syntaxable hierarchy to be traversed when determining the syntax for command line arguments or when evaluating the command line arguments.
getRootCondition() - Method in class org.refcodes.console.impls.ArgsParserImpl
The root condition is the starting point node of a Syntaxable hierarchy to be traversed when determining the syntax for command line arguments or when evaluating the command line arguments.
getShortOption() - Method in class org.refcodes.console.impls.AbstractOption
Returns the short-option representing an Option instance.
getShortOption() - Method in interface org.refcodes.console.Option
Returns the short-option representing an Option instance.
getStatusCode() - Method in enum org.refcodes.console.consts.ExitCode
getStatusCode() - Method in exception org.refcodes.console.exceptions.impls.AbstractConsoleException.AbstractCliException
getType() - Method in class org.refcodes.console.impls.AbstractOperand
getValue() - Method in class org.refcodes.console.impls.AbstractOperand
When being parsed via the Syntaxable.parseArgs(String[]) method, then the Operand.getValue() method returns the parsed value.
getValue() - Method in interface org.refcodes.console.Operand
When being parsed via the Syntaxable.parseArgs(String[]) method, then the Operand.getValue() method returns the parsed value.

H

HelpSwitchImpl - Class in org.refcodes.console.impls
A predefined help switch.
HelpSwitchImpl(String) - Constructor for class org.refcodes.console.impls.HelpSwitchImpl
Constructs the predefined help switch.

I

isOptionArgument(String) - Static method in class org.refcodes.console.utilities.ConsoleUtility
Determines whether the provided String starts with one of the prefixes Identifying an Option.

L

LONG_OPTION - Static variable in class org.refcodes.console.impls.ForceSwitchImpl
 
LONG_OPTION - Static variable in class org.refcodes.console.impls.HelpSwitchImpl
 
LONG_OPTION - Static variable in class org.refcodes.console.impls.QuietSwitchImpl
 
LONG_OPTION - Static variable in class org.refcodes.console.impls.VerboseSwitchImpl
 
LONG_OPTION_PREFIX - Static variable in interface org.refcodes.console.consts.ConsoleConsts
A long-option is prefixed with a double hyphen-minus "--".

O

Operand<T> - Interface in org.refcodes.console
An Operand represents a value parsed from command line arguments.An Operand has a state which changes with each invocation of the Syntaxable.parseArgs(String[]) method.
Option<T> - Interface in org.refcodes.console
An Option represents a command line option with the according option's value.
OPTION_PREFIXES - Static variable in interface org.refcodes.console.consts.ConsoleConsts
All option prefixes as defines by this ConsoleConsts interface; being the ConsoleConsts.SHORT_OPTION_PREFIX and the "--".
OptionalImpl - Class in org.refcodes.console.impls
 
OptionalImpl(Syntaxable) - Constructor for class org.refcodes.console.impls.OptionalImpl
 
OrConditionImpl - Class in org.refcodes.console.impls
An OrConditionImpl represents a list of Syntaxable instances of which at least one must be parsed successfully when the Syntaxable s' Syntaxable.parseArgs(String[]) methods are invoked.
OrConditionImpl(Syntaxable...) - Constructor for class org.refcodes.console.impls.OrConditionImpl
 
org.refcodes.console - package org.refcodes.console
Syntaxable: Syntaxable defines the methods at least required when building a command line arguments syntax tree for traversing the syntax tree; either for parsing command line arguments or for constructing the command line arguments syntax.
org.refcodes.console.consts - package org.refcodes.console.consts
 
org.refcodes.console.exceptions.impls - package org.refcodes.console.exceptions.impls
 
org.refcodes.console.impls - package org.refcodes.console.impls
 
org.refcodes.console.mixins - package org.refcodes.console.mixins
 
org.refcodes.console.statics - package org.refcodes.console.statics
 
org.refcodes.console.utilities - package org.refcodes.console.utilities
 

P

parseArgs(String[]) - Method in class org.refcodes.console.impls.AbstractOperand
Parses the provided command line arguments and determines the according values by evaluating this Syntaxable instance or, in case of being a node in the syntax tree (such as a Condition, traversing the child Syntaxable instances' Syntaxable.parseArgs(String[]) methods.
parseArgs(String[]) - Method in class org.refcodes.console.impls.AbstractOption
Parses the provided command line arguments and determines the according values by evaluating this Syntaxable instance or, in case of being a node in the syntax tree (such as a Condition, traversing the child Syntaxable instances' Syntaxable.parseArgs(String[]) methods.
parseArgs(String[]) - Method in class org.refcodes.console.impls.AndConditionImpl
 
parseArgs(String[]) - Method in class org.refcodes.console.impls.OptionalImpl
Parses the provided command line arguments and determines the according values by evaluating this Syntaxable instance or, in case of being a node in the syntax tree (such as a Condition, traversing the child Syntaxable instances' Syntaxable.parseArgs(String[]) methods.
parseArgs(String[]) - Method in class org.refcodes.console.impls.OrConditionImpl
Parses the provided command line arguments and determines the according values by evaluating this Syntaxable instance or, in case of being a node in the syntax tree (such as a Condition, traversing the child Syntaxable instances' Syntaxable.parseArgs(String[]) methods.
parseArgs(String[]) - Method in class org.refcodes.console.impls.SwitchImpl
Parses the provided command line arguments and determines the according values by evaluating this Syntaxable instance or, in case of being a node in the syntax tree (such as a Condition, traversing the child Syntaxable instances' Syntaxable.parseArgs(String[]) methods.
parseArgs(String[]) - Method in class org.refcodes.console.impls.XorConditionImpl
Parses the provided command line arguments and determines the according values by evaluating this Syntaxable instance or, in case of being a node in the syntax tree (such as a Condition, traversing the child Syntaxable instances' Syntaxable.parseArgs(String[]) methods.
parseArgs(String[]) - Method in interface org.refcodes.console.Syntaxable
Parses the provided command line arguments and determines the according values by evaluating this Syntaxable instance or, in case of being a node in the syntax tree (such as a Condition, traversing the child Syntaxable instances' Syntaxable.parseArgs(String[]) methods.
ParseArgsException - Exception in org.refcodes.console.exceptions.impls
Thrown in case the provided command line arguments do not respect the required syntax or cannot be converted to the required type.
ParseArgsException(String[], String, String) - Constructor for exception org.refcodes.console.exceptions.impls.ParseArgsException
ParseArgsException(String[], String, Throwable, String) - Constructor for exception org.refcodes.console.exceptions.impls.ParseArgsException
ParseArgsException(String[], String, Throwable) - Constructor for exception org.refcodes.console.exceptions.impls.ParseArgsException
ParseArgsException(String[], String) - Constructor for exception org.refcodes.console.exceptions.impls.ParseArgsException
ParseArgsException(String[], Throwable, String) - Constructor for exception org.refcodes.console.exceptions.impls.ParseArgsException
ParseArgsException(String[], Throwable) - Constructor for exception org.refcodes.console.exceptions.impls.ParseArgsException
parseSyntax(SyntaxNotation) - Method in class org.refcodes.console.impls.AbstractSyntaxable
This method is to be called from from the root Syntaxable; when invoking syntax retrieval inside the Syntaxable hierarchy use the method Syntaxable.toSyntax(SyntaxNotation) .
parseSyntax(SyntaxNotation) - Method in class org.refcodes.console.impls.AndConditionImpl
This method is to be called from from the root Syntaxable; when invoking syntax retrieval inside the Syntaxable hierarchy use the method Syntaxable.toSyntax(SyntaxNotation) .
parseSyntax(SyntaxNotation) - Method in class org.refcodes.console.impls.OrConditionImpl
This method is to be called from from the root Syntaxable; when invoking syntax retrieval inside the Syntaxable hierarchy use the method Syntaxable.toSyntax(SyntaxNotation) .
parseSyntax(SyntaxNotation) - Method in class org.refcodes.console.impls.XorConditionImpl
This method is to be called from from the root Syntaxable; when invoking syntax retrieval inside the Syntaxable hierarchy use the method Syntaxable.toSyntax(SyntaxNotation) .
parseSyntax(SyntaxNotation) - Method in interface org.refcodes.console.Syntaxable
This method is to be called from from the root Syntaxable; when invoking syntax retrieval inside the Syntaxable hierarchy use the method Syntaxable.toSyntax(SyntaxNotation) .
printBanner() - Method in interface org.refcodes.console.ArgsParser
Prints the banner; the banner most probably is an ASCII art text block which's look depends strongly on the taste of the author implementing this interface.
printBanner() - Method in class org.refcodes.console.impls.ArgsParserImpl
Prints the banner; the banner most probably is an ASCII art text block which's look depends strongly on the taste of the author implementing this interface.
printCopyrightNote() - Method in interface org.refcodes.console.ArgsParser
Prints the copyright note as specified by the ArgsParser.setCopyrightNote(String) method; with regards to to the console width as specified by the ArgsParser.setConsoleWidth(int) method.
printCopyrightNote() - Method in class org.refcodes.console.impls.ArgsParserImpl
Prints the copyright note as specified by the ArgsParser.setCopyrightNote(String) method; with regards to to the console width as specified by the ArgsParser.setConsoleWidth(int) method.
printDescription() - Method in interface org.refcodes.console.ArgsParser
Prints the description as set by the DescriptionAccessor.DescriptionBuilder.setDescription(String) method with regards to the console width as specified by the ArgsParser.setConsoleWidth(int) method.
printDescription() - Method in class org.refcodes.console.impls.ArgsParserImpl
Prints the description as set by the DescriptionAccessor.DescriptionBuilder.setDescription(String) method with regards to the console width as specified by the ArgsParser.setConsoleWidth(int) method.
printHelp() - Method in interface org.refcodes.console.ArgsParser
Prints the help to the standard output specified by the ArgsParser.setStandardOut(PrintStream) method.
printHelp() - Method in class org.refcodes.console.impls.ArgsParserImpl
Prints the help to the standard output specified by the ArgsParser.setStandardOut(PrintStream) method.
printLicenseNote() - Method in interface org.refcodes.console.ArgsParser
Prints the license note as specified by the ArgsParser.setLicenseNote(String) method; with regards to to the console width as specified by the ArgsParser.setConsoleWidth(int) method.
printLicenseNote() - Method in class org.refcodes.console.impls.ArgsParserImpl
Prints the license note as specified by the ArgsParser.setLicenseNote(String) method; with regards to to the console width as specified by the ArgsParser.setConsoleWidth(int) method.
printLn(String) - Method in interface org.refcodes.console.ArgsParser
Prints the given line with regards to to the console width as specified by the ArgsParser.setConsoleWidth(int) method.
printLn() - Method in interface org.refcodes.console.ArgsParser
Prints an empty line / a line break.
printLn(String) - Method in class org.refcodes.console.impls.ArgsParserImpl
Prints the given line with regards to to the console width as specified by the ArgsParser.setConsoleWidth(int) method.
printLn() - Method in class org.refcodes.console.impls.ArgsParserImpl
Prints an empty line / a line break.
printOptions() - Method in interface org.refcodes.console.ArgsParser
Prints the Options (short- and the long-options), the Switches and the Operator and their description with regards to the console width as specified by the ArgsParser.setConsoleWidth(int) method.
printOptions() - Method in class org.refcodes.console.impls.ArgsParserImpl
Prints the Options (short- and the long-options), the Switches and the Operator and their description with regards to the console width as specified by the ArgsParser.setConsoleWidth(int) method.
printSeparatorLn() - Method in interface org.refcodes.console.ArgsParser
Prints a separator line using the separator character as specified by the ArgsParser.setSeparatorChar(char) method; with regards to to the console width as specified by the ArgsParser.setConsoleWidth(int) method.
printSeparatorLn() - Method in class org.refcodes.console.impls.ArgsParserImpl
Prints a separator line using the separator character as specified by the ArgsParser.setSeparatorChar(char) method; with regards to to the console width as specified by the ArgsParser.setConsoleWidth(int) method.
printUsage() - Method in interface org.refcodes.console.ArgsParser
Prints the syntax as retrieved by the root Condition# with regards to the SyntaxNotation set by the ArgsParser.setSyntaxNotation(SyntaxNotation) method; making use of the usage label as passed by the ArgsParser.setUsageLabel(String) method.
printUsage() - Method in class org.refcodes.console.impls.ArgsParserImpl
Prints the syntax as retrieved by the root Condition# with regards to the SyntaxNotation set by the ArgsParser.setSyntaxNotation(SyntaxNotation) method; making use of the usage label as passed by the ArgsParser.setUsageLabel(String) method.

Q

QuietSwitchImpl - Class in org.refcodes.console.impls
A predefined "be quiet" switch.
QuietSwitchImpl(String) - Constructor for class org.refcodes.console.impls.QuietSwitchImpl
Constructs the predefined verbose switch.

R

reset() - Method in class org.refcodes.console.impls.AbstractCondition
reset() - Method in class org.refcodes.console.impls.AbstractOperand
reset() - Method in class org.refcodes.console.impls.OptionalImpl
reset() - Method in class org.refcodes.console.impls.SwitchImpl

S

setArgs(String[]) - Method in class org.refcodes.console.impls.AbstractOperand
Sets the command line argument(s) representing the Operand and its value as parsed by the AbstractOperand.parseArgs(String[]) method.
setArgs(String[]) - Method in class org.refcodes.console.impls.AbstractOption
Sets the command line argument(s) representing the Operand and its value as parsed by the AbstractOperand.parseArgs(String[]) method.
setArgs(String[]) - Method in interface org.refcodes.console.mixins.ArgsAccessor.ArgsMutator
Sets the command line arguments for the args property.
setConsoleWidth(int) - Method in interface org.refcodes.console.ArgsParser
Set the console with and make other adjustments with the result (with regards to the builder pattern).
setConsoleWidth(int) - Method in class org.refcodes.console.impls.ArgsParserImpl
Set the console with and make other adjustments with the result (with regards to the builder pattern).
setCopyrightNote(String) - Method in interface org.refcodes.console.ArgsParser
Set the copyright note used by the ArgsParser.printHelp() method when writing out the copyright claim and make other adjustments with the result (with regards to the builder pattern).
setCopyrightNote(String) - Method in class org.refcodes.console.impls.ArgsParserImpl
Set the copyright note used by the ArgsParser.printHelp() method when writing out the copyright claim and make other adjustments with the result (with regards to the builder pattern).
setDescription(String) - Method in class org.refcodes.console.impls.ArgsParserImpl
setLicenseNote(String) - Method in interface org.refcodes.console.ArgsParser
Set the license note used by the ArgsParser.printHelp() method when writing out the licensing conditions and make other adjustments with the result (with regards to the builder pattern).
setLicenseNote(String) - Method in class org.refcodes.console.impls.ArgsParserImpl
Set the license note used by the ArgsParser.printHelp() method when writing out the licensing conditions and make other adjustments with the result (with regards to the builder pattern).
setLineBreak(String) - Method in interface org.refcodes.console.ArgsParser
Set the console's line break and make other adjustments with the result (with regards to the builder pattern).
setLineBreak(String) - Method in class org.refcodes.console.impls.ArgsParserImpl
Set the console's line break and make other adjustments with the result (with regards to the builder pattern).
setName(String) - Method in class org.refcodes.console.impls.ArgsParserImpl
setSeparatorChar(char) - Method in interface org.refcodes.console.ArgsParser
Set the character to be used when printing a separator line with the ArgsParser.printSeparatorLn() method.
setSeparatorChar(char) - Method in class org.refcodes.console.impls.ArgsParserImpl
Set the character to be used when printing a separator line with the ArgsParser.printSeparatorLn() method.
setStandardOut(PrintStream) - Method in interface org.refcodes.console.ArgsParser
Set the standard out PrintStream and make other adjustments with the result (with regards to the builder pattern).
setStandardOut(PrintStream) - Method in class org.refcodes.console.impls.ArgsParserImpl
Set the standard out PrintStream and make other adjustments with the result (with regards to the builder pattern).
setSyntaxNotation(SyntaxNotation) - Method in interface org.refcodes.console.ArgsParser
Set the SyntaxNotation and make other adjustments with the result (with regards to the builder pattern).
setSyntaxNotation(SyntaxNotation) - Method in class org.refcodes.console.impls.ArgsParserImpl
Set the SyntaxNotation and make other adjustments with the result (with regards to the builder pattern).
setUsageLabel(String) - Method in interface org.refcodes.console.ArgsParser
Set the usage label used by the ArgsParser.printHelp() method when writing out the syntax and make other adjustments with the result (with regards to the builder pattern).
setUsageLabel(String) - Method in class org.refcodes.console.impls.ArgsParserImpl
Set the usage label used by the ArgsParser.printHelp() method when writing out the syntax and make other adjustments with the result (with regards to the builder pattern).
setValue(T) - Method in class org.refcodes.console.impls.AbstractOperand
Sets the value for the Operand as parsed by the AbstractOperand.parseArgs(String[]) method.
setValue(T) - Method in class org.refcodes.console.impls.AbstractOption
Sets the value for the Operand as parsed by the AbstractOperand.parseArgs(String[]) method.
SHORT_OPTION - Static variable in class org.refcodes.console.impls.ForceSwitchImpl
 
SHORT_OPTION - Static variable in class org.refcodes.console.impls.HelpSwitchImpl
 
SHORT_OPTION - Static variable in class org.refcodes.console.impls.QuietSwitchImpl
 
SHORT_OPTION - Static variable in class org.refcodes.console.impls.VerboseSwitchImpl
 
SHORT_OPTION_PREFIX - Static variable in interface org.refcodes.console.consts.ConsoleConsts
A short-option is prefixed with a single hyphen-minus "-".
StringOperandImpl - Class in org.refcodes.console.impls
 
StringOperandImpl(String, String) - Constructor for class org.refcodes.console.impls.StringOperandImpl
 
StringOptionImpl - Class in org.refcodes.console.impls
 
StringOptionImpl(String, String, String, String) - Constructor for class org.refcodes.console.impls.StringOptionImpl
SuperfluousArgsException - Exception in org.refcodes.console.exceptions.impls
Thrown in case there were arguments found not being used (superfluous arguments).
SuperfluousArgsException(String[], String, String) - Constructor for exception org.refcodes.console.exceptions.impls.SuperfluousArgsException
SuperfluousArgsException(String[], String, Throwable, String) - Constructor for exception org.refcodes.console.exceptions.impls.SuperfluousArgsException
SuperfluousArgsException(String[], String, Throwable) - Constructor for exception org.refcodes.console.exceptions.impls.SuperfluousArgsException
SuperfluousArgsException(String[], String) - Constructor for exception org.refcodes.console.exceptions.impls.SuperfluousArgsException
SuperfluousArgsException(String[], Throwable, String) - Constructor for exception org.refcodes.console.exceptions.impls.SuperfluousArgsException
SuperfluousArgsException(String[], Throwable) - Constructor for exception org.refcodes.console.exceptions.impls.SuperfluousArgsException
Switch - Interface in org.refcodes.console
A Switch is an Option with a Boolean state.
SwitchImpl - Class in org.refcodes.console.impls
 
SwitchImpl(String, String, String) - Constructor for class org.refcodes.console.impls.SwitchImpl
Constructs a Switch
Syntaxable - Interface in org.refcodes.console
A Syntaxable defines the methods at least required when building a command line arguments syntax tree for traversing the syntax tree; either for parsing command line arguments or for constructing the command line arguments syntax.
SyntaxNotation - Enum in org.refcodes.console.consts
The SyntaxNotation is used by a the Syntaxable.toSyntax(SyntaxNotation) method to determine which notation to be used for the generated syntax.

T

toArgs(List<? extends Operand<?>>...) - Static method in class org.refcodes.console.utilities.ConsoleUtility
Takes all Operand instances found in the provided Lists and adds all therein found argument arrays (as of Operand.getArgs()) to the result.
toDiff(String[], String[]) - Static method in class org.refcodes.console.utilities.ConsoleUtility
Creates the difference between the provided set and the provided subset.
toDiff(String[], List<? extends Operand<?>>) - Static method in class org.refcodes.console.utilities.ConsoleUtility
Creates the difference between the provided set and the provided Lists therein found argument arrays subset (as of Operand.getArgs()).
toOperands() - Method in interface org.refcodes.console.Condition
Traverses the hierarchy of Conditions and collects all therein found Operands and sub-types such as the Switch or the Option; This is most useful when creating a list of Options, Switches and Operands when printing out detailed help.o
toOperands() - Method in class org.refcodes.console.impls.AbstractCondition
Traverses the hierarchy of Conditions and collects all therein found Operands and sub-types such as the Switch or the Option; This is most useful when creating a list of Options, Switches and Operands when printing out detailed help.o
toOptionsSpec(Operand<?>) - Static method in class org.refcodes.console.utilities.ConsoleUtility
Creates the options specification containing the short option (if any) and the long option ( if any) from the provided Operand;
toParameterSpec(Operand<?>) - Static method in class org.refcodes.console.utilities.ConsoleUtility
Creates the parameter specification from the provided Operand.
toSpec(Operand<?>) - Static method in class org.refcodes.console.utilities.ConsoleUtility
Creates a specification for the given Operand consisting of the options specification (if any) as of ConsoleUtility.toOptionsSpec(Operand) and the parameter specification (if any) as of ConsoleUtility.toParameterSpec(Operand).
toState() - Method in class org.refcodes.console.impls.AbstractOperand
The Syntaxable.toState() method might be used by the #toString() method and prints out the state of the syntaxable and (if any) its children.
toState() - Method in class org.refcodes.console.impls.AbstractOption
The Syntaxable.toState() method might be used by the #toString() method and prints out the state of the syntaxable and (if any) its children.
toState() - Method in class org.refcodes.console.impls.AndConditionImpl
The Syntaxable.toState() method might be used by the #toString() method and prints out the state of the syntaxable and (if any) its children.
toState() - Method in class org.refcodes.console.impls.OptionalImpl
The Syntaxable.toState() method might be used by the #toString() method and prints out the state of the syntaxable and (if any) its children.
toState() - Method in class org.refcodes.console.impls.OrConditionImpl
The Syntaxable.toState() method might be used by the #toString() method and prints out the state of the syntaxable and (if any) its children.
toState() - Method in class org.refcodes.console.impls.XorConditionImpl
The Syntaxable.toState() method might be used by the #toString() method and prints out the state of the syntaxable and (if any) its children.
toState() - Method in interface org.refcodes.console.Syntaxable
The Syntaxable.toState() method might be used by the #toString() method and prints out the state of the syntaxable and (if any) its children.
toString() - Method in class org.refcodes.console.impls.AbstractCondition
toString() - Method in class org.refcodes.console.impls.AbstractOperand
toString() - Method in class org.refcodes.console.impls.OptionalImpl
toSyntax(SyntaxNotation) - Method in class org.refcodes.console.impls.AbstractCondition
This method is to be called from inside the Syntaxable hierarchy; use the method Syntaxable.parseSyntax(SyntaxNotation) in case you invoke syntax retrieval from the root Syntaxable.
toSyntax(SyntaxNotation) - Method in class org.refcodes.console.impls.AbstractOperand
This method is to be called from inside the Syntaxable hierarchy; use the method Syntaxable.parseSyntax(SyntaxNotation) in case you invoke syntax retrieval from the root Syntaxable.
toSyntax(SyntaxNotation) - Method in class org.refcodes.console.impls.AbstractOption
This method is to be called from inside the Syntaxable hierarchy; use the method Syntaxable.parseSyntax(SyntaxNotation) in case you invoke syntax retrieval from the root Syntaxable.
toSyntax(SyntaxNotation) - Method in class org.refcodes.console.impls.OptionalImpl
This method is to be called from inside the Syntaxable hierarchy; use the method Syntaxable.parseSyntax(SyntaxNotation) in case you invoke syntax retrieval from the root Syntaxable.
toSyntax(SyntaxNotation) - Method in class org.refcodes.console.impls.XorConditionImpl
This method is to be called from inside the Syntaxable hierarchy; use the method Syntaxable.parseSyntax(SyntaxNotation) in case you invoke syntax retrieval from the root Syntaxable.
toSyntax(SyntaxNotation) - Method in interface org.refcodes.console.Syntaxable
This method is to be called from inside the Syntaxable hierarchy; use the method Syntaxable.parseSyntax(SyntaxNotation) in case you invoke syntax retrieval from the root Syntaxable.
toValue(String) - Method in class org.refcodes.console.impls.AbstractOperand
Double dispatch hook to be implemented by subclasses of the AbstractOperand for converting a command line argument to the required Operand's type.
toValue(String) - Method in class org.refcodes.console.impls.StringOperandImpl
Double dispatch hook to be implemented by subclasses of the AbstractOperand for converting a command line argument to the required Operand's type.
toValue(String) - Method in class org.refcodes.console.impls.StringOptionImpl
Double dispatch hook to be implemented by subclasses of the AbstractOperand for converting a command line argument to the required Operand's type.
toValue(String) - Method in class org.refcodes.console.impls.SwitchImpl
Double dispatch hook to be implemented by subclasses of the AbstractOperand for converting a command line argument to the required Operand's type.

U

UnknownArgsException - Exception in org.refcodes.console.exceptions.impls
Thrown in case not one command line argument matched regarding the provided args vs. the expected args.
UnknownArgsException(String[], String, String) - Constructor for exception org.refcodes.console.exceptions.impls.UnknownArgsException
UnknownArgsException(String[], String, Throwable, String) - Constructor for exception org.refcodes.console.exceptions.impls.UnknownArgsException
UnknownArgsException(String[], String, Throwable) - Constructor for exception org.refcodes.console.exceptions.impls.UnknownArgsException
UnknownArgsException(String[], String) - Constructor for exception org.refcodes.console.exceptions.impls.UnknownArgsException
UnknownArgsException(String[], Throwable, String) - Constructor for exception org.refcodes.console.exceptions.impls.UnknownArgsException
UnknownArgsException(String[], Throwable) - Constructor for exception org.refcodes.console.exceptions.impls.UnknownArgsException

V

valueOf(String) - Static method in enum org.refcodes.console.consts.ExitCode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.refcodes.console.consts.SyntaxNotation
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.refcodes.console.consts.ExitCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.refcodes.console.consts.SyntaxNotation
Returns an array containing the constants of this enum type, in the order they are declared.
VerboseSwitchImpl - Class in org.refcodes.console.impls
A predefined verbose switch.
VerboseSwitchImpl(String) - Constructor for class org.refcodes.console.impls.VerboseSwitchImpl
Constructs the predefined verbose switch.

X

XorConditionImpl - Class in org.refcodes.console.impls
An XorConditionImpl represents a list of Syntaxable instances of which only one is allowed to be parsed successfully when the Syntaxables' Syntaxable.parseArgs(String[]) methods are invoked.
XorConditionImpl(Syntaxable...) - Constructor for class org.refcodes.console.impls.XorConditionImpl
 
A C E F G H I L O P Q R S T U V X 
Skip navigation links

Copyright © 2015. All rights reserved.