A B C D F G I M P R S T U V W 

A

addObject(Object...) - Method in class de.tototec.cmdoption.CmdlineParser
 
AddToCollectionHandler - Class in de.tototec.cmdoption.handler
Add an one-arg option argument to a collection of strings.
AddToCollectionHandler() - Constructor for class de.tototec.cmdoption.handler.AddToCollectionHandler
 
applyParams(Object, AccessibleObject, String[], String) - Method in class de.tototec.cmdoption.handler.AddToCollectionHandler
 
applyParams(Object, AccessibleObject, String[], String) - Method in class de.tototec.cmdoption.handler.BooleanFieldHandler
Deprecated.
 
applyParams(Object, AccessibleObject, String[], String) - Method in class de.tototec.cmdoption.handler.BooleanHandler
 
applyParams(Object, AccessibleObject, String[], String) - Method in class de.tototec.cmdoption.handler.BooleanOptionHandler
 
applyParams(Object, AccessibleObject, String[], String) - Method in interface de.tototec.cmdoption.handler.CmdOptionHandler
Apply the option and it arguments (if any) to the field or method representing the option.
applyParams(Object, AccessibleObject, String[], String) - Method in class de.tototec.cmdoption.handler.PutIntoMapHandler
 
applyParams(Object, AccessibleObject, String[], String) - Method in class de.tototec.cmdoption.handler.StringFieldHandler
 
applyParams(Object, AccessibleObject, String[], String) - Method in class de.tototec.cmdoption.handler.StringMethodHandler
 
applyParams(Object, AccessibleObject, String[], String) - Method in class de.tototec.cmdoption.handler.UrlHandler
 

B

BooleanFieldHandler - Class in de.tototec.cmdoption.handler
Deprecated.
BooleanHandler does the same and also supports methods. Deprecated since 0.3.0.
BooleanFieldHandler() - Constructor for class de.tototec.cmdoption.handler.BooleanFieldHandler
Deprecated.
 
BooleanFieldHandler(String[], String[], boolean) - Constructor for class de.tototec.cmdoption.handler.BooleanFieldHandler
Deprecated.
If the list of falseWords is empty or null, any words not in trueWords is considered as false.
BooleanHandler - Class in de.tototec.cmdoption.handler
Apply an one-arg option to a Boolean (or boolean) field or method.
BooleanHandler() - Constructor for class de.tototec.cmdoption.handler.BooleanHandler
 
BooleanHandler(String[], String[], boolean) - Constructor for class de.tototec.cmdoption.handler.BooleanHandler
If the list of falseWords is empty or null, any words not in trueWords is considered as false.
BooleanOptionHandler - Class in de.tototec.cmdoption.handler
Apply an zero-arg option to an Boolean (or boolean) field.
BooleanOptionHandler() - Constructor for class de.tototec.cmdoption.handler.BooleanOptionHandler
 

C

canHandle(AccessibleObject, int) - Method in class de.tototec.cmdoption.handler.AddToCollectionHandler
 
canHandle(AccessibleObject, int) - Method in class de.tototec.cmdoption.handler.BooleanFieldHandler
Deprecated.
 
canHandle(AccessibleObject, int) - Method in class de.tototec.cmdoption.handler.BooleanHandler
 
canHandle(AccessibleObject, int) - Method in class de.tototec.cmdoption.handler.BooleanOptionHandler
 
canHandle(AccessibleObject, int) - Method in interface de.tototec.cmdoption.handler.CmdOptionHandler
Return true if the field or method (element) with the given number of arguments (argCount) can be handled by this handler.
canHandle(AccessibleObject, int) - Method in class de.tototec.cmdoption.handler.PutIntoMapHandler
 
canHandle(AccessibleObject, int) - Method in class de.tototec.cmdoption.handler.StringFieldHandler
 
canHandle(AccessibleObject, int) - Method in class de.tototec.cmdoption.handler.StringMethodHandler
 
canHandle(AccessibleObject, int) - Method in class de.tototec.cmdoption.handler.UrlHandler
 
CmdCommand - Annotation Type in de.tototec.cmdoption
 
CmdlineModel - Class in de.tototec.cmdoption
 
CmdlineModel(String, List<OptionHandle>, List<CommandHandle>, OptionHandle, String, ResourceBundle) - Constructor for class de.tototec.cmdoption.CmdlineModel
 
CmdlineParser - Class in de.tototec.cmdoption
 
CmdlineParser(CmdlineParser, String, Object) - Constructor for class de.tototec.cmdoption.CmdlineParser
 
CmdlineParser(Object...) - Constructor for class de.tototec.cmdoption.CmdlineParser
 
CmdlineParserException - Exception in de.tototec.cmdoption
 
CmdlineParserException(String, Throwable, String) - Constructor for exception de.tototec.cmdoption.CmdlineParserException
 
CmdlineParserException(String, Throwable) - Constructor for exception de.tototec.cmdoption.CmdlineParserException
 
CmdlineParserException(String, String) - Constructor for exception de.tototec.cmdoption.CmdlineParserException
 
CmdlineParserException(String) - Constructor for exception de.tototec.cmdoption.CmdlineParserException
 
CmdlineParserException(Throwable, String, Object...) - Constructor for exception de.tototec.cmdoption.CmdlineParserException
 
CmdOption - Annotation Type in de.tototec.cmdoption
An Command line option which optionally supports parameters.
CmdOptionDelegate - Annotation Type in de.tototec.cmdoption
Also inspect the object stored in the annotated field for CmdOption annotations.
CmdOptionHandler - Interface in de.tototec.cmdoption.handler
An Handler is needed to parse an Commandline option and to apply the parser result to the annotated field or method.
CmdOptionHandlerException - Exception in de.tototec.cmdoption.handler
 
CmdOptionHandlerException(String, Throwable, String) - Constructor for exception de.tototec.cmdoption.handler.CmdOptionHandlerException
 
CmdOptionHandlerException(String, Throwable) - Constructor for exception de.tototec.cmdoption.handler.CmdOptionHandlerException
 
CmdOptionHandlerException(String, String) - Constructor for exception de.tototec.cmdoption.handler.CmdOptionHandlerException
 
CmdOptionHandlerException(String) - Constructor for exception de.tototec.cmdoption.handler.CmdOptionHandlerException
 
CommandHandle - Class in de.tototec.cmdoption
 
CommandHandle(String[], String, CmdlineParser, Object, boolean) - Constructor for class de.tototec.cmdoption.CommandHandle
 
CommandHandle.CommandHandleComparator - Class in de.tototec.cmdoption
 
CommandHandle.CommandHandleComparator() - Constructor for class de.tototec.cmdoption.CommandHandle.CommandHandleComparator
 
commandUsage(Class<?>) - Method in class de.tototec.cmdoption.CmdlineParser
 
compare(CommandHandle, CommandHandle) - Method in class de.tototec.cmdoption.CommandHandle.CommandHandleComparator
 
containsMethod(Iterable<Method>, Method) - Method in class de.tototec.cmdoption.CmdlineParser
 

D

de.tototec.cmdoption - package de.tototec.cmdoption
 
de.tototec.cmdoption.handler - package de.tototec.cmdoption.handler
 
DefaultUsageFormatter - Class in de.tototec.cmdoption
 
DefaultUsageFormatter(boolean) - Constructor for class de.tototec.cmdoption.DefaultUsageFormatter
 

F

findHandler(AccessibleObject, int, Class<? extends CmdOptionHandler>) - Method in class de.tototec.cmdoption.CmdlineParser
 
findMethod(Iterable<Method>, Method) - Method in class de.tototec.cmdoption.CmdlineParser
 
format(StringBuilder, CmdlineModel) - Method in class de.tototec.cmdoption.DefaultUsageFormatter
 
format(StringBuilder, CmdlineModel) - Method in interface de.tototec.cmdoption.UsageFormatter
 
formatCommands(StringBuilder, List<CommandHandle>, String, ResourceBundle) - Method in class de.tototec.cmdoption.DefaultUsageFormatter
 
formatOptions(StringBuilder, List<OptionHandle>, String, ResourceBundle) - Method in class de.tototec.cmdoption.DefaultUsageFormatter
 
formatParameter(StringBuilder, OptionHandle, String, ResourceBundle) - Method in class de.tototec.cmdoption.DefaultUsageFormatter
 
formatTable(StringBuilder, List<String[]>, int, int, int) - Static method in class de.tototec.cmdoption.DefaultUsageFormatter
 

G

getAboutLine() - Method in class de.tototec.cmdoption.CmdlineModel
 
getCmdlineModel() - Method in class de.tototec.cmdoption.CmdlineParser
 
getCmdlineParser() - Method in class de.tototec.cmdoption.CommandHandle
 
getCommandCmdlineModel() - Method in class de.tototec.cmdoption.CommandHandle
 
getCommands() - Method in class de.tototec.cmdoption.CmdlineModel
 
getDescription() - Method in class de.tototec.cmdoption.CommandHandle
 
getI18n(Class<?>) - Static method in class de.tototec.cmdoption.I18nFactory
 
getI18n(Class<?>, Locale) - Static method in class de.tototec.cmdoption.I18nFactory
 
getLocale() - Method in class de.tototec.cmdoption.I18n
 
getLocalizedMessage() - Method in exception de.tototec.cmdoption.CmdlineParserException
 
getLocalizedMessage() - Method in exception de.tototec.cmdoption.handler.CmdOptionHandlerException
 
getNames() - Method in class de.tototec.cmdoption.CommandHandle
 
getObject() - Method in class de.tototec.cmdoption.CommandHandle
 
getOptions() - Method in class de.tototec.cmdoption.CmdlineModel
 
getParameter() - Method in class de.tototec.cmdoption.CmdlineModel
 
getParsedCommandName() - Method in class de.tototec.cmdoption.CmdlineParser
 
getParsedCommandObject() - Method in class de.tototec.cmdoption.CmdlineParser
 
getProgramName() - Method in class de.tototec.cmdoption.CmdlineModel
 
getResourceBundle() - Method in class de.tototec.cmdoption.CmdlineModel
 

I

I18n - Class in de.tototec.cmdoption
 
I18n() - Constructor for class de.tototec.cmdoption.I18n
 
I18nFactory - Class in de.tototec.cmdoption
 
I18nFactory() - Constructor for class de.tototec.cmdoption.I18nFactory
 
isHidden() - Method in class de.tototec.cmdoption.CommandHandle
 
isPackagePrivate(Method) - Method in class de.tototec.cmdoption.CmdlineParser
 
isPrivate(Method) - Method in class de.tototec.cmdoption.CmdlineParser
 
isPublicOrProtected(Method) - Method in class de.tototec.cmdoption.CmdlineParser
 
isVisible(Class<?>, Member) - Method in class de.tototec.cmdoption.CmdlineParser
 

M

marktr(String) - Static method in class de.tototec.cmdoption.I18n
 
marktrc(String, String) - Static method in class de.tototec.cmdoption.I18n
 
mkSpace(StringBuilder, int) - Static method in class de.tototec.cmdoption.DefaultUsageFormatter
 
mkString(Iterable<?>, String, String, String) - Static method in class de.tototec.cmdoption.Util
 
mkString(Object[], String, String, String) - Static method in class de.tototec.cmdoption.Util
 

P

parse(String...) - Method in class de.tototec.cmdoption.CmdlineParser
 
parse(boolean, boolean, String...) - Method in class de.tototec.cmdoption.CmdlineParser
 
PutIntoMapHandler - Class in de.tototec.cmdoption.handler
Apply an two-arg option to an Map.
PutIntoMapHandler() - Constructor for class de.tototec.cmdoption.handler.PutIntoMapHandler
 

R

registerHandler(CmdOptionHandler) - Method in class de.tototec.cmdoption.CmdlineParser
 

S

sanitizeString(String) - Method in class de.tototec.cmdoption.CommandHandle.CommandHandleComparator
 
scanCommand(Object) - Method in class de.tototec.cmdoption.CmdlineParser
 
scanOptions(Object) - Method in class de.tototec.cmdoption.CmdlineParser
 
setAboutLine(String) - Method in class de.tototec.cmdoption.CmdlineParser
An additional text displayed at the top of the usage/help display.
setDebugMode(boolean) - Method in class de.tototec.cmdoption.CmdlineParser
 
setDebugModeAllowed(boolean) - Method in class de.tototec.cmdoption.CmdlineParser
 
setDefaultCommandClass(Class<?>) - Method in class de.tototec.cmdoption.CmdlineParser
 
setDefaultCommandName(String) - Method in class de.tototec.cmdoption.CmdlineParser
 
setProgramName(String) - Method in class de.tototec.cmdoption.CmdlineParser
Set the name of the program is usually called on the command line.
setResourceBundle(String, ClassLoader) - Method in class de.tototec.cmdoption.CmdlineParser
 
setResourceBundle(ResourceBundle) - Method in class de.tototec.cmdoption.CmdlineParser
 
setUsageFormatter(UsageFormatter) - Method in class de.tototec.cmdoption.CmdlineParser
 
StringFieldHandler - Class in de.tototec.cmdoption.handler
Apply an one-arg option to a field of type String.
StringFieldHandler() - Constructor for class de.tototec.cmdoption.handler.StringFieldHandler
 
StringMethodHandler - Class in de.tototec.cmdoption.handler
Apply an n-arg option to an (setter) method with n parameters of type String.
StringMethodHandler() - Constructor for class de.tototec.cmdoption.handler.StringMethodHandler
 

T

toString() - Method in class de.tototec.cmdoption.CmdlineModel
 
tr(String, Object...) - Method in class de.tototec.cmdoption.I18n
 
translate(ResourceBundle, String) - Method in class de.tototec.cmdoption.DefaultUsageFormatter
 
translate(ResourceBundle, String[]) - Method in class de.tototec.cmdoption.DefaultUsageFormatter
 
trc(String, String, Object...) - Method in class de.tototec.cmdoption.I18n
 
trcn(String, String, String, long, Object...) - Method in class de.tototec.cmdoption.I18n
 
trn(String, String, long, Object...) - Method in class de.tototec.cmdoption.I18n
 

U

unregisterAllHandler() - Method in class de.tototec.cmdoption.CmdlineParser
 
unregisterHandler(Class<? extends CmdOptionHandler>) - Method in class de.tototec.cmdoption.CmdlineParser
 
UrlHandler - Class in de.tototec.cmdoption.handler
 
UrlHandler() - Constructor for class de.tototec.cmdoption.handler.UrlHandler
 
usage() - Method in class de.tototec.cmdoption.CmdlineParser
 
usage(StringBuilder) - Method in class de.tototec.cmdoption.CmdlineParser
 
UsageFormatter - Interface in de.tototec.cmdoption
 
Util - Class in de.tototec.cmdoption
 
Util() - Constructor for class de.tototec.cmdoption.Util
 

V

validateOptions() - Method in class de.tototec.cmdoption.CmdlineParser
 

W

wrap(StringBuilder, String, int, int) - Static method in class de.tototec.cmdoption.DefaultUsageFormatter
 
A B C D F G I M P R S T U V W