Index

A B C D E F G H I L M N P R S T U V 
All Classes and Interfaces|All Packages

A

AbstractCommandAutoComplete - Class in net.thevpc.common.commandline
Created by vpc on 3/7/17.
AbstractCommandAutoComplete() - Constructor for class net.thevpc.common.commandline.AbstractCommandAutoComplete
 
acceptSequence(int, String...) - Method in class net.thevpc.common.commandline.CommandLine
 
addCandidate(String, String) - Method in class net.thevpc.common.commandline.AbstractCommandAutoComplete
 
addCandidate(String, String) - Method in interface net.thevpc.common.commandline.CommandAutoComplete
 
addCandidate(ArgumentCandidate) - Method in class net.thevpc.common.commandline.AbstractCommandAutoComplete
 
addCandidate(ArgumentCandidate) - Method in interface net.thevpc.common.commandline.CommandAutoComplete
 
addCandidatesImpl(ArgumentCandidate) - Method in class net.thevpc.common.commandline.AbstractCommandAutoComplete
 
addCell(Object) - Method in class net.thevpc.common.commandline.format.TableFormatter
 
addCells(Object...) - Method in class net.thevpc.common.commandline.format.TableFormatter
 
addExpectedTypedValue(String, String) - Method in class net.thevpc.common.commandline.AbstractCommandAutoComplete
 
addExpectedTypedValue(String, String) - Method in interface net.thevpc.common.commandline.CommandAutoComplete
 
addHeaderCell(Object) - Method in class net.thevpc.common.commandline.format.TableFormatter
 
addHeaderCells(Object...) - Method in class net.thevpc.common.commandline.format.TableFormatter
 
addRow(Object...) - Method in class net.thevpc.common.commandline.format.TableFormatter
 
alignLeft(String, int) - Static method in class net.thevpc.common.commandline.format.FormatUtils
 
alignRight(String, int) - Static method in class net.thevpc.common.commandline.format.FormatUtils
 
append(String) - Method in interface net.thevpc.common.commandline.CommandHistory
 
append(String) - Method in class net.thevpc.common.commandline.FileCommandHistory
 
Argument - Class in net.thevpc.common.commandline
 
Argument(String) - Constructor for class net.thevpc.common.commandline.Argument
 
ArgumentCandidate - Interface in net.thevpc.common.commandline
Created by vpc on 3/7/17.
ArgumentReader() - Constructor for class net.thevpc.common.commandline.CommandLine.ArgumentReader
 

B

BOOLEAN - Enum constant in enum class net.thevpc.common.commandline.CommandLine.OptionType
 

C

CommandAutoComplete - Interface in net.thevpc.common.commandline
Created by vpc on 3/7/17.
CommandHistory - Interface in net.thevpc.common.commandline
 
CommandLine - Class in net.thevpc.common.commandline
CommandLine args=new CommandLine(Arrays.asList("--!deleteLog","--deploy","/deploy/path","--deploy=/other-deploy/path","some-param")); Argument a; while (args.hasNext()) { if ((a = args.readBooleanOption("--deleteLog")) != null) { deleteLog = a.getBooleanValue(); } else if ((a = args.readStringOption("--deploy")) != null) { apps.add(a.getStringValue()); } else if ((a = args.readNonOption()) != null) { name = a.getString(); } else { args.unexpectedArgument(); } }
CommandLine(String[]) - Constructor for class net.thevpc.common.commandline.CommandLine
 
CommandLine(String[], CommandAutoComplete) - Constructor for class net.thevpc.common.commandline.CommandLine
 
CommandLine(List) - Constructor for class net.thevpc.common.commandline.CommandLine
 
CommandLine(List, CommandAutoComplete) - Constructor for class net.thevpc.common.commandline.CommandLine
 
CommandLine(CommandLineContext) - Constructor for class net.thevpc.common.commandline.CommandLine
 
CommandLine.ArgumentReader - Class in net.thevpc.common.commandline
 
CommandLine.OptionType - Enum Class in net.thevpc.common.commandline
 
CommandLineContext - Interface in net.thevpc.common.commandline
 
configure(CommandLine) - Method in class net.thevpc.common.commandline.format.TableFormatter
 
configure(CommandLine) - Method in class net.thevpc.common.commandline.format.TreeFormatter
 
containOption(String) - Method in class net.thevpc.common.commandline.CommandLine
 
copy() - Method in class net.thevpc.common.commandline.CommandLine
 

D

DEFAULT_BORDER - Static variable in class net.thevpc.common.commandline.format.TableFormatter
 
DefaultArgumentCandidate - Class in net.thevpc.common.commandline
Created by vpc on 3/7/17.
DefaultArgumentCandidate(String) - Constructor for class net.thevpc.common.commandline.DefaultArgumentCandidate
 
DefaultArgumentCandidate(String, String) - Constructor for class net.thevpc.common.commandline.DefaultArgumentCandidate
 
DefaultNonOption - Class in net.thevpc.common.commandline
 
DefaultNonOption(String) - Constructor for class net.thevpc.common.commandline.DefaultNonOption
 

E

escapeString(String) - Static method in class net.thevpc.common.commandline.format.FormatUtils
 

F

FANCY_COLUMNS_BORDER - Static variable in class net.thevpc.common.commandline.format.TableFormatter
 
FANCY_ROWS_BORDER - Static variable in class net.thevpc.common.commandline.format.TableFormatter
 
FileCommandHistory - Class in net.thevpc.common.commandline
 
FileCommandHistory(String) - Constructor for class net.thevpc.common.commandline.FileCommandHistory
 
FileNonOption - Class in net.thevpc.common.commandline
 
FileNonOption(String) - Constructor for class net.thevpc.common.commandline.FileNonOption
 
fillString(char, int) - Static method in class net.thevpc.common.commandline.format.FormatUtils
 
fillString(String, int) - Static method in class net.thevpc.common.commandline.format.FormatUtils
 
findOption(String) - Method in class net.thevpc.common.commandline.CommandLine
 
FIRST - Enum constant in enum class net.thevpc.common.commandline.format.TreeFormatter.Type
 
FIRST_ROW_END - Enum constant in enum class net.thevpc.common.commandline.format.TableFormatter.Separator
 
FIRST_ROW_LINE - Enum constant in enum class net.thevpc.common.commandline.format.TableFormatter.Separator
 
FIRST_ROW_SEP - Enum constant in enum class net.thevpc.common.commandline.format.TableFormatter.Separator
 
FIRST_ROW_START - Enum constant in enum class net.thevpc.common.commandline.format.TableFormatter.Separator
 
FolderNonOption - Class in net.thevpc.common.commandline
 
FolderNonOption(String) - Constructor for class net.thevpc.common.commandline.FolderNonOption
 
format(int, int, Object) - Method in interface net.thevpc.common.commandline.format.TableFormatter.CellFormatter
 
format(Map, PrintStream) - Method in class net.thevpc.common.commandline.format.PropertiesFormatter
 
format(T) - Method in interface net.thevpc.common.commandline.format.TreeNodeFormatter
 
formatChild(TreeFormatter.Type) - Method in interface net.thevpc.common.commandline.format.TreeLinkFormatter
 
formatMain(TreeFormatter.Type) - Method in interface net.thevpc.common.commandline.format.TreeLinkFormatter
 
FormatUtils - Class in net.thevpc.common.commandline.format
 
FormatUtils() - Constructor for class net.thevpc.common.commandline.format.FormatUtils
 

G

get() - Method in class net.thevpc.common.commandline.CommandLine
 
get(int) - Method in class net.thevpc.common.commandline.CommandLine
 
get(TableFormatter.Separator) - Method in class net.thevpc.common.commandline.format.TableFormatterBorders
 
getArgs() - Method in interface net.thevpc.common.commandline.CommandLineContext
 
getAutoComplete() - Method in class net.thevpc.common.commandline.CommandLine
 
getAutoComplete() - Method in interface net.thevpc.common.commandline.CommandLineContext
 
getBoolean() - Method in class net.thevpc.common.commandline.Argument
 
getBoolean(boolean) - Method in class net.thevpc.common.commandline.Argument
 
getBooleanValue() - Method in class net.thevpc.common.commandline.Argument
 
getBorder() - Method in class net.thevpc.common.commandline.format.TableFormatter
 
getCandidates() - Method in class net.thevpc.common.commandline.AbstractCommandAutoComplete
 
getCandidates() - Method in interface net.thevpc.common.commandline.CommandAutoComplete
 
getChildren(T) - Method in interface net.thevpc.common.commandline.format.TreeModel
 
getCurrentWordIndex() - Method in interface net.thevpc.common.commandline.CommandAutoComplete
 
getDisplay() - Method in interface net.thevpc.common.commandline.ArgumentCandidate
 
getDisplay() - Method in class net.thevpc.common.commandline.DefaultArgumentCandidate
 
getDoubleValue() - Method in class net.thevpc.common.commandline.Argument
 
getExpression() - Method in class net.thevpc.common.commandline.Argument
 
getExpression(String) - Method in class net.thevpc.common.commandline.Argument
 
getFormatter() - Method in class net.thevpc.common.commandline.format.TreeFormatter
 
getInt() - Method in class net.thevpc.common.commandline.Argument
 
getInt(int) - Method in class net.thevpc.common.commandline.Argument
 
getIntValue() - Method in class net.thevpc.common.commandline.Argument
 
getKey() - Method in class net.thevpc.common.commandline.Argument
 
getKey(String) - Method in class net.thevpc.common.commandline.Argument
 
getLine() - Method in interface net.thevpc.common.commandline.CommandAutoComplete
 
getLinkFormatter() - Method in class net.thevpc.common.commandline.format.TreeFormatter
 
getLongValue() - Method in class net.thevpc.common.commandline.Argument
 
getName() - Method in class net.thevpc.common.commandline.Argument
 
getName() - Method in class net.thevpc.common.commandline.DefaultNonOption
 
getName() - Method in interface net.thevpc.common.commandline.NonOption
 
getOptionName() - Method in class net.thevpc.common.commandline.Argument
 
getRoot() - Method in interface net.thevpc.common.commandline.format.TreeModel
 
getSeparator() - Method in class net.thevpc.common.commandline.format.PropertiesFormatter
 
getStringExpression() - Method in class net.thevpc.common.commandline.Argument
 
getStringOrError() - Method in class net.thevpc.common.commandline.Argument
 
getStringValue() - Method in class net.thevpc.common.commandline.Argument
 
getTree() - Method in class net.thevpc.common.commandline.format.TreeFormatter
 
getValue() - Method in class net.thevpc.common.commandline.Argument
 
getValue() - Method in interface net.thevpc.common.commandline.ArgumentCandidate
 
getValue() - Method in class net.thevpc.common.commandline.DefaultArgumentCandidate
 
getValue(String) - Method in class net.thevpc.common.commandline.Argument
 
getValues() - Method in class net.thevpc.common.commandline.DefaultNonOption
 
getValues() - Method in interface net.thevpc.common.commandline.NonOption
 
getValues() - Method in class net.thevpc.common.commandline.ValueNonOption
 
getVisibleColumn(int) - Method in class net.thevpc.common.commandline.format.TableFormatter
 
getWordIndex() - Method in class net.thevpc.common.commandline.CommandLine
 
getWords() - Method in interface net.thevpc.common.commandline.CommandAutoComplete
 

H

hasNext() - Method in class net.thevpc.common.commandline.CommandLine
 
head(int) - Method in interface net.thevpc.common.commandline.CommandHistory
 
head(int) - Method in class net.thevpc.common.commandline.FileCommandHistory
 

I

IMMEDIATE_STRING - Enum constant in enum class net.thevpc.common.commandline.CommandLine.OptionType
 
indexOfOption(String) - Method in class net.thevpc.common.commandline.CommandLine
 
INTER_ROW_END - Enum constant in enum class net.thevpc.common.commandline.format.TableFormatter.Separator
 
INTER_ROW_LINE - Enum constant in enum class net.thevpc.common.commandline.format.TableFormatter.Separator
 
INTER_ROW_SEP - Enum constant in enum class net.thevpc.common.commandline.format.TableFormatter.Separator
 
INTER_ROW_START - Enum constant in enum class net.thevpc.common.commandline.format.TableFormatter.Separator
 
isAny(String...) - Method in class net.thevpc.common.commandline.Argument
 
isAutoCompleteMode() - Method in class net.thevpc.common.commandline.CommandLine
 
isEmpty() - Method in class net.thevpc.common.commandline.CommandLine
 
isEmpty(String) - Static method in class net.thevpc.common.commandline.format.FormatUtils
 
isExecMode() - Method in class net.thevpc.common.commandline.CommandLine
 
isKeyVal() - Method in class net.thevpc.common.commandline.Argument
 
isKeyVal(String) - Method in class net.thevpc.common.commandline.Argument
 
isNegated() - Method in class net.thevpc.common.commandline.Argument
 
isNegatedOption() - Method in class net.thevpc.common.commandline.Argument
 
isNonOption() - Method in class net.thevpc.common.commandline.CommandLine
 
isNonOption(int) - Method in class net.thevpc.common.commandline.CommandLine
 
isOption() - Method in class net.thevpc.common.commandline.Argument
 
isOption() - Method in class net.thevpc.common.commandline.CommandLine
 
isOption(int) - Method in class net.thevpc.common.commandline.CommandLine
 
isOption(int, String...) - Method in class net.thevpc.common.commandline.CommandLine
 
isOption(String...) - Method in class net.thevpc.common.commandline.CommandLine
 
isRepeatable() - Method in class net.thevpc.common.commandline.CommandLine.ArgumentReader
 
isSort() - Method in class net.thevpc.common.commandline.format.PropertiesFormatter
 
isTable() - Method in class net.thevpc.common.commandline.format.PropertiesFormatter
 
isUnsupported() - Method in class net.thevpc.common.commandline.Argument
 
isUnsupportedOption() - Method in class net.thevpc.common.commandline.Argument
 
isVisibleHeader() - Method in class net.thevpc.common.commandline.format.TableFormatter
 

L

LAST - Enum constant in enum class net.thevpc.common.commandline.format.TreeFormatter.Type
 
LAST_ROW_END - Enum constant in enum class net.thevpc.common.commandline.format.TableFormatter.Separator
 
LAST_ROW_LINE - Enum constant in enum class net.thevpc.common.commandline.format.TableFormatter.Separator
 
LAST_ROW_SEP - Enum constant in enum class net.thevpc.common.commandline.format.TableFormatter.Separator
 
LAST_ROW_START - Enum constant in enum class net.thevpc.common.commandline.format.TableFormatter.Separator
 
length() - Method in class net.thevpc.common.commandline.CommandLine
 
LINK_ASCII_FORMATTER - Static variable in class net.thevpc.common.commandline.format.TreeFormatter
 
LINK_SPACE_FORMATTER - Static variable in class net.thevpc.common.commandline.format.TreeFormatter
 
list() - Method in interface net.thevpc.common.commandline.CommandHistory
 
list() - Method in class net.thevpc.common.commandline.FileCommandHistory
 
load() - Method in interface net.thevpc.common.commandline.CommandHistory
 
load() - Method in class net.thevpc.common.commandline.FileCommandHistory
 

M

MIDDLE - Enum constant in enum class net.thevpc.common.commandline.format.TreeFormatter.Type
 

N

NAME - Static variable in class net.thevpc.common.commandline.DefaultNonOption
 
net.thevpc.common.commandline - package net.thevpc.common.commandline
 
net.thevpc.common.commandline.format - package net.thevpc.common.commandline.format
 
newRow() - Method in class net.thevpc.common.commandline.format.TableFormatter
 
NO_BORDER - Static variable in class net.thevpc.common.commandline.format.TableFormatter
 
NonOption - Interface in net.thevpc.common.commandline
 

P

print(PrintStream) - Method in class net.thevpc.common.commandline.format.TableFormatter
 
print(PrintStream) - Method in class net.thevpc.common.commandline.format.TreeFormatter
 
PropertiesFormatter - Class in net.thevpc.common.commandline.format
 
PropertiesFormatter() - Constructor for class net.thevpc.common.commandline.format.PropertiesFormatter
 

R

read() - Method in class net.thevpc.common.commandline.CommandLine
 
readAll(boolean, String...) - Method in class net.thevpc.common.commandline.CommandLine
 
readAll(String...) - Method in class net.thevpc.common.commandline.CommandLine.ArgumentReader
 
readAll(String...) - Method in class net.thevpc.common.commandline.CommandLine
 
readAllOnce(String...) - Method in class net.thevpc.common.commandline.CommandLine
 
readBooleanOption(String...) - Method in class net.thevpc.common.commandline.CommandLine
 
reader() - Method in class net.thevpc.common.commandline.CommandLine
 
readImmediateStringOption(String...) - Method in class net.thevpc.common.commandline.CommandLine
 
readNonOption() - Method in class net.thevpc.common.commandline.CommandLine
 
readNonOption(boolean, String) - Method in class net.thevpc.common.commandline.CommandLine
 
readNonOption(String...) - Method in class net.thevpc.common.commandline.CommandLine
 
readNonOption(NonOption) - Method in class net.thevpc.common.commandline.CommandLine
 
readNonOption(NonOption, boolean) - Method in class net.thevpc.common.commandline.CommandLine
 
readOption(String...) - Method in class net.thevpc.common.commandline.CommandLine
 
readOption(CommandLine.OptionType, String...) - Method in class net.thevpc.common.commandline.CommandLine
 
readRequiredNonOption() - Method in class net.thevpc.common.commandline.CommandLine
 
readRequiredNonOption(String) - Method in class net.thevpc.common.commandline.CommandLine
 
readRequiredNonOption(NonOption) - Method in class net.thevpc.common.commandline.CommandLine
 
readRequiredOption(String) - Method in class net.thevpc.common.commandline.CommandLine
 
readStringOption(String...) - Method in class net.thevpc.common.commandline.CommandLine
 
readVoidOption(String...) - Method in class net.thevpc.common.commandline.CommandLine
 
requiredNonOption() - Method in class net.thevpc.common.commandline.CommandLine
 
requireEmpty() - Method in class net.thevpc.common.commandline.CommandLine
 
requireNonEmpty() - Method in class net.thevpc.common.commandline.CommandLine
 
reset() - Method in class net.thevpc.common.commandline.CommandLine
 
ROW_END - Enum constant in enum class net.thevpc.common.commandline.format.TableFormatter.Separator
 
ROW_SEP - Enum constant in enum class net.thevpc.common.commandline.format.TableFormatter.Separator
 
ROW_START - Enum constant in enum class net.thevpc.common.commandline.format.TableFormatter.Separator
 

S

save() - Method in interface net.thevpc.common.commandline.CommandHistory
 
save() - Method in class net.thevpc.common.commandline.FileCommandHistory
 
setArgs(String[]) - Method in class net.thevpc.common.commandline.CommandLine
 
setArgs(List) - Method in class net.thevpc.common.commandline.CommandLine
 
setAutoComplete(CommandAutoComplete) - Method in class net.thevpc.common.commandline.CommandLine
 
setBorder(TableFormatterBorders) - Method in class net.thevpc.common.commandline.format.TableFormatter
 
setColumnConfigIndex(String, int) - Method in class net.thevpc.common.commandline.format.TableFormatter
 
setColumnsConfig(String...) - Method in class net.thevpc.common.commandline.format.TableFormatter
 
setFormatter(TreeNodeFormatter) - Method in class net.thevpc.common.commandline.format.TreeFormatter
 
setHeader(Object...) - Method in class net.thevpc.common.commandline.format.TableFormatter
 
setLinkFormatter(TreeLinkFormatter) - Method in class net.thevpc.common.commandline.format.TreeFormatter
 
setRepeatable(boolean) - Method in class net.thevpc.common.commandline.CommandLine.ArgumentReader
 
setSeparator(String) - Method in class net.thevpc.common.commandline.format.PropertiesFormatter
 
setSort(boolean) - Method in class net.thevpc.common.commandline.format.PropertiesFormatter
 
setTable(boolean) - Method in class net.thevpc.common.commandline.format.PropertiesFormatter
 
setTree(TreeModel) - Method in class net.thevpc.common.commandline.format.TreeFormatter
 
setVisibleColumn(int, boolean) - Method in class net.thevpc.common.commandline.format.TableFormatter
 
setVisibleHeader(boolean) - Method in class net.thevpc.common.commandline.format.TableFormatter
 
SIMPLE_BORDER - Static variable in class net.thevpc.common.commandline.format.TableFormatter
 
skip() - Method in class net.thevpc.common.commandline.CommandLine
 
skip(int) - Method in class net.thevpc.common.commandline.CommandLine
 
skipAll() - Method in class net.thevpc.common.commandline.CommandLine
 
SPACE_BORDER - Static variable in class net.thevpc.common.commandline.format.TableFormatter
 
STRING - Enum constant in enum class net.thevpc.common.commandline.CommandLine.OptionType
 
stringLength(String) - Method in interface net.thevpc.common.commandline.format.TableFormatter.CellFormatter
 

T

TableFormatter - Class in net.thevpc.common.commandline.format
Created by vpc on 2/17/17.
TableFormatter(TableFormatter.CellFormatter) - Constructor for class net.thevpc.common.commandline.format.TableFormatter
 
TableFormatter.CellFormatter - Interface in net.thevpc.common.commandline.format
 
TableFormatter.Separator - Enum Class in net.thevpc.common.commandline.format
 
TableFormatterBorders - Class in net.thevpc.common.commandline.format
 
TableFormatterBorders(String...) - Constructor for class net.thevpc.common.commandline.format.TableFormatterBorders
 
tail(int) - Method in interface net.thevpc.common.commandline.CommandHistory
 
tail(int) - Method in class net.thevpc.common.commandline.FileCommandHistory
 
TO_STRING_FORMATTER - Static variable in class net.thevpc.common.commandline.format.TreeFormatter
/ return new File("/home/vpc/.nuts/default-workspace/");
toArray() - Method in class net.thevpc.common.commandline.CommandLine
 
toString() - Method in class net.thevpc.common.commandline.Argument
 
toString() - Method in class net.thevpc.common.commandline.CommandLine
 
toString() - Method in class net.thevpc.common.commandline.DefaultNonOption
 
toString() - Method in class net.thevpc.common.commandline.format.TableFormatter
 
toString() - Method in class net.thevpc.common.commandline.format.TreeFormatter
 
TreeFormatter<T> - Class in net.thevpc.common.commandline.format
 
TreeFormatter(TreeModel) - Constructor for class net.thevpc.common.commandline.format.TreeFormatter
 
TreeFormatter(TreeModel, TreeNodeFormatter, TreeLinkFormatter) - Constructor for class net.thevpc.common.commandline.format.TreeFormatter
 
TreeFormatter.Type - Enum Class in net.thevpc.common.commandline.format
 
TreeLinkFormatter - Interface in net.thevpc.common.commandline.format
 
TreeModel<T> - Interface in net.thevpc.common.commandline.format
 
TreeNodeFormatter<T> - Interface in net.thevpc.common.commandline.format
 

U

unexpectedArgument() - Method in class net.thevpc.common.commandline.CommandLine
 
unexpectedArgument(String) - Method in class net.thevpc.common.commandline.CommandLine
 
unsetVisibleColumn(int) - Method in class net.thevpc.common.commandline.format.TableFormatter
 

V

VALUE - Static variable in class net.thevpc.common.commandline.DefaultNonOption
 
ValueNonOption - Class in net.thevpc.common.commandline
 
ValueNonOption(String, String...) - Constructor for class net.thevpc.common.commandline.ValueNonOption
 
valueOf(String) - Static method in enum class net.thevpc.common.commandline.CommandLine.OptionType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.thevpc.common.commandline.format.TableFormatter.Separator
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.thevpc.common.commandline.format.TreeFormatter.Type
Returns the enum constant of this class with the specified name.
values() - Static method in enum class net.thevpc.common.commandline.CommandLine.OptionType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.thevpc.common.commandline.format.TableFormatter.Separator
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.thevpc.common.commandline.format.TreeFormatter.Type
Returns an array containing the constants of this enum class, in the order they are declared.
VOID - Enum constant in enum class net.thevpc.common.commandline.CommandLine.OptionType
 
A B C D E F G H I L M N P R S T U V 
All Classes and Interfaces|All Packages