A B C D E F G H I M O P R S T U V 
All Classes All Packages

A

AbstractMainSupport<A,​R> - Class in cdc.util.cli
Utility that can be used to create main programs.
AbstractMainSupport(Class<?>, Logger) - Constructor for class cdc.util.cli.AbstractMainSupport
 
AbstractMainSupport.Maskable<E extends Enum<E>> - Interface in cdc.util.cli
 
add(E) - Method in class cdc.util.cli.FeatureMask
 
addAll(E...) - Method in class cdc.util.cli.FeatureMask
 
addNoArgOptions(Options, Class<E>) - Static method in class cdc.util.cli.AbstractMainSupport
 
addSpecificOptions(Options) - Method in class cdc.util.cli.AbstractMainSupport
Creates specific options and add them to an options collection.
addStandardOptions(Options) - Method in class cdc.util.cli.AbstractMainSupport
 
analyze(CommandLine) - Method in class cdc.util.cli.AbstractMainSupport
Analyzes the command line.

B

buildOptions() - Method in class cdc.util.cli.AbstractMainSupport
Creates options, add standard and specific options and returns them.

C

cdc.util.cli - package cdc.util.cli
 
CHARSET - Static variable in class cdc.util.cli.AbstractMainSupport
 
checkAtMostOne(Logger, FailureReaction, E...) - Method in class cdc.util.cli.FeatureMask
Check that at most one feature is enabled in a group of features.
checkExactlyOne(Logger, FailureReaction, E...) - Method in class cdc.util.cli.FeatureMask
Check that exactly one feature is enabled in a group of features.
contains(E) - Method in class cdc.util.cli.FeatureMask
 
createGroup(Options, E...) - Static method in class cdc.util.cli.AbstractMainSupport
 

D

DEFAULT_PARTS_SEPARATOR - Static variable in class cdc.util.cli.AbstractMainSupport
 
DRIVER - Static variable in class cdc.util.cli.AbstractMainSupport
 

E

execute(A) - Method in class cdc.util.cli.AbstractMainSupport
Executes the main program.

F

FeatureMask<E extends Enum<E>> - Class in cdc.util.cli
Utility to handle features.
FeatureMask() - Constructor for class cdc.util.cli.FeatureMask
 
fillValues(CommandLine, String, Collection<String>) - Static method in class cdc.util.cli.AbstractMainSupport
 
fillValues(CommandLine, String, Collection<T>, Function<String, T>) - Static method in class cdc.util.cli.AbstractMainSupport
 

G

getDescription() - Method in interface cdc.util.cli.OptionEnum
 
getHelpFooter() - Method in class cdc.util.cli.AbstractMainSupport
Returns the help footer.
getHelpHeader() - Method in class cdc.util.cli.AbstractMainSupport
Returns the help header.
getLogger() - Method in class cdc.util.cli.AbstractMainSupport
 
getName() - Method in interface cdc.util.cli.OptionEnum
 
getOptionsAsOptional() - Method in class cdc.util.cli.AbstractMainSupport
 
getPart1(String) - Static method in class cdc.util.cli.AbstractMainSupport
Returns the part of a string that is before AbstractMainSupport.DEFAULT_PARTS_SEPARATOR.
getPart1(String, String) - Static method in class cdc.util.cli.AbstractMainSupport
Returns the part of a string that is before a separator.
getPart2(String, String) - Static method in class cdc.util.cli.AbstractMainSupport
Returns the part of a string that is after AbstractMainSupport.DEFAULT_PARTS_SEPARATOR.
getPart2(String, String, String) - Static method in class cdc.util.cli.AbstractMainSupport
Returns the part of a string that is after a separator.
getValue(CommandLine, String, T, Function<String, T>) - Static method in class cdc.util.cli.AbstractMainSupport
 
getValueAsByte(CommandLine, String, byte) - Static method in class cdc.util.cli.AbstractMainSupport
Returns an option value as a byte.
getValueAsByte(CommandLine, String, Byte) - Static method in class cdc.util.cli.AbstractMainSupport
 
getValueAsChar(CommandLine, String, char) - Static method in class cdc.util.cli.AbstractMainSupport
Returns an option value as a char.
getValueAsChar(CommandLine, String, Character) - Static method in class cdc.util.cli.AbstractMainSupport
 
getValueAsDirectory(CommandLine, String, File) - Static method in class cdc.util.cli.AbstractMainSupport
 
getValueAsDouble(CommandLine, String, double) - Static method in class cdc.util.cli.AbstractMainSupport
Returns an option value as a double.
getValueAsDouble(CommandLine, String, Double) - Static method in class cdc.util.cli.AbstractMainSupport
 
getValueAsEnum(CommandLine, String, Class<E>, E) - Static method in class cdc.util.cli.AbstractMainSupport
Returns an option value as a enum.
getValueAsExistingDirectory(CommandLine, String, File) - Static method in class cdc.util.cli.AbstractMainSupport
 
getValueAsExistingFile(CommandLine, String, File) - Static method in class cdc.util.cli.AbstractMainSupport
 
getValueAsExistingFileOrDirectory(CommandLine, String, File) - Static method in class cdc.util.cli.AbstractMainSupport
 
getValueAsFile(CommandLine, String, File) - Static method in class cdc.util.cli.AbstractMainSupport
Returns an option value as a File.
getValueAsFloat(CommandLine, String, float) - Static method in class cdc.util.cli.AbstractMainSupport
Returns an option value as a float.
getValueAsFloat(CommandLine, String, Float) - Static method in class cdc.util.cli.AbstractMainSupport
 
getValueAsInt(CommandLine, String, int) - Static method in class cdc.util.cli.AbstractMainSupport
Returns an option value as an int.
getValueAsInt(CommandLine, String, Integer) - Static method in class cdc.util.cli.AbstractMainSupport
 
getValueAsLong(CommandLine, String, long) - Static method in class cdc.util.cli.AbstractMainSupport
Returns an option value as a long.
getValueAsLong(CommandLine, String, Long) - Static method in class cdc.util.cli.AbstractMainSupport
 
getValueAsNullOrExistingDirectory(CommandLine, String, File) - Static method in class cdc.util.cli.AbstractMainSupport
Returns an option value as an existing directory or null.
getValueAsNullOrExistingFile(CommandLine, String, File) - Static method in class cdc.util.cli.AbstractMainSupport
Returns an option value as an existing file or null.
getValueAsNullOrExistingFileOrDirectory(CommandLine, String, File) - Static method in class cdc.util.cli.AbstractMainSupport
Returns an option value as an existing file or directory or null.
getValueAsShort(CommandLine, String, short) - Static method in class cdc.util.cli.AbstractMainSupport
Returns an option value as a short.
getValueAsShort(CommandLine, String, Short) - Static method in class cdc.util.cli.AbstractMainSupport
 
getValueAsString(CommandLine, String, String) - Static method in class cdc.util.cli.AbstractMainSupport
Returns an option value as a string.
getValueAsURL(CommandLine, String, URL) - Static method in class cdc.util.cli.AbstractMainSupport
Returns an option value as an URL.
getValues(CommandLine, String, Function<String, T>) - Static method in class cdc.util.cli.AbstractMainSupport
 
getVersion() - Method in class cdc.util.cli.AbstractMainSupport
Returns the version.

H

HELP - Static variable in class cdc.util.cli.AbstractMainSupport
 

I

INPUT - Static variable in class cdc.util.cli.AbstractMainSupport
 
INPUT_DIR - Static variable in class cdc.util.cli.AbstractMainSupport
 
isEmpty() - Method in class cdc.util.cli.FeatureMask
 
isEnabled(E) - Method in class cdc.util.cli.FeatureMask
 

M

main(String[]) - Method in class cdc.util.cli.AbstractMainSupport
Default main program.

O

OptionEnum - Interface in cdc.util.cli
Interface implemented by enums that can be used as options.
OUTPUT - Static variable in class cdc.util.cli.AbstractMainSupport
 
OUTPUT_DIR - Static variable in class cdc.util.cli.AbstractMainSupport
 

P

PASSWORD - Static variable in class cdc.util.cli.AbstractMainSupport
 
PATH - Static variable in class cdc.util.cli.AbstractMainSupport
 
PREFIX - Static variable in class cdc.util.cli.AbstractMainSupport
 
printHelp(Options, Exception) - Method in class cdc.util.cli.AbstractMainSupport
 
printVersion() - Method in class cdc.util.cli.AbstractMainSupport
 

R

remove(E) - Method in class cdc.util.cli.FeatureMask
 

S

setEnabled(E, boolean) - Method in interface cdc.util.cli.AbstractMainSupport.Maskable
 
setEnabled(E, boolean) - Method in class cdc.util.cli.FeatureMask
 
setMask(CommandLine, Class<E>, AbstractMainSupport.Maskable<E>) - Static method in class cdc.util.cli.AbstractMainSupport
 

T

TMP_DIR - Static variable in class cdc.util.cli.AbstractMainSupport
 
toList() - Method in class cdc.util.cli.FeatureMask
 
toSet() - Method in class cdc.util.cli.FeatureMask
 

U

URL - Static variable in class cdc.util.cli.AbstractMainSupport
 
USER - Static variable in class cdc.util.cli.AbstractMainSupport
 

V

VERSION - Static variable in class cdc.util.cli.AbstractMainSupport
 
A B C D E F G H I M O P R S T U V 
All Classes All Packages