- ABR - Static variable in interface net.morimekta.console.chr.Char
-
Abort - [Control c]
- add(O) - Method in class net.morimekta.console.args.ArgumentParser
-
Add a command line option.
- add(A) - Method in class net.morimekta.console.args.ArgumentParser
-
Add a sub-command.
- add(SubCommand<SubCommandDef>) - Method in class net.morimekta.console.args.SubCommandSet
-
Add a sub-command to the sub-command-set.
- add(String...) - Method in class net.morimekta.console.util.TerminalBuffer
-
- add(Collection<String>) - Method in class net.morimekta.console.util.TerminalBuffer
-
- addAll(SubCommand<SubCommandDef>...) - Method in class net.morimekta.console.args.SubCommandSet
-
Add a set of sub-commands to the sub-command-set.
- alt(char) - Static method in class net.morimekta.console.chr.CharUtil
-
- andApply(Consumer<T>) - Method in interface net.morimekta.console.util.Parser
-
Make a string consumer to typed value consumer out of the converter.
- andPut(Parser.TypedPutter<T>) - Method in interface net.morimekta.console.util.Parser
-
Make a property putter that calls a typed putter with the parsed value.
- andPutAs(Parser.TypedPutter<T>, String) - Method in interface net.morimekta.console.util.Parser
-
Make a consumer that puts a specific value with the typed putter.
- apply(ArgumentList) - Method in class net.morimekta.console.args.Argument
-
- apply(ArgumentList) - Method in class net.morimekta.console.args.BaseArgument
-
Try to apply to the argument.
- apply(ArgumentList) - Method in class net.morimekta.console.args.BaseOption
-
Parse the argument list, including the argument string that triggered
the call.
- apply(ArgumentList) - Method in class net.morimekta.console.args.Flag
-
- apply(ArgumentList) - Method in class net.morimekta.console.args.Option
-
- apply(ArgumentList) - Method in class net.morimekta.console.args.Property
-
- apply(ArgumentList) - Method in class net.morimekta.console.args.SubCommandSet
-
- applyShort(String, ArgumentList) - Method in class net.morimekta.console.args.BaseOption
-
When handling a list of short options, except for the last short
option.
- applyShort(String, ArgumentList) - Method in class net.morimekta.console.args.Flag
-
- applyShort(String, ArgumentList) - Method in class net.morimekta.console.args.Option
-
- applyShort(String, ArgumentList) - Method in class net.morimekta.console.args.Property
-
- Argument - Class in net.morimekta.console.args
-
An argument is a non-optioned CLI argument.
- Argument(String, String, Consumer<String>) - Constructor for class net.morimekta.console.args.Argument
-
Create a default required argument.
- Argument(String, String, Consumer<String>, String) - Constructor for class net.morimekta.console.args.Argument
-
Create a default optional argument with default value.
- Argument(String, String, Consumer<String>, String, Predicate<String>, boolean, boolean, boolean) - Constructor for class net.morimekta.console.args.Argument
-
Create an argument instance.
- ArgumentException - Exception in net.morimekta.console.args
-
Argument exception.
- ArgumentException(String, Object...) - Constructor for exception net.morimekta.console.args.ArgumentException
-
- ArgumentException(Throwable, String, Object...) - Constructor for exception net.morimekta.console.args.ArgumentException
-
- ArgumentList - Class in net.morimekta.console.args
-
List of arguments with various tools.
- ArgumentList(ArgumentList) - Constructor for class net.morimekta.console.args.ArgumentList
-
- ArgumentList(String...) - Constructor for class net.morimekta.console.args.ArgumentList
-
- ArgumentOptions - Class in net.morimekta.console.args
-
Options for configuring the argument parser.
- ArgumentOptions(STTY) - Constructor for class net.morimekta.console.args.ArgumentOptions
-
- ArgumentParser - Class in net.morimekta.console.args
-
Argument argumentParser class.
- ArgumentParser(String, String, String) - Constructor for class net.morimekta.console.args.ArgumentParser
-
Create an argument argumentParser instance.
- ArgumentParser(String, String, String, ArgumentOptions) - Constructor for class net.morimekta.console.args.ArgumentParser
-
Create an argument argumentParser instance.
- asInteger() - Method in interface net.morimekta.console.chr.Char
-
Unicode codepoint representing this character.
- asInteger() - Method in class net.morimekta.console.chr.Control
-
- asInteger() - Method in class net.morimekta.console.chr.Unicode
-
- asString() - Method in class net.morimekta.console.chr.Control
-
- asString() - Method in class net.morimekta.console.chr.Unicode
-
- get(int) - Method in class net.morimekta.console.args.ArgumentList
-
- getAliases() - Method in class net.morimekta.console.args.SubCommand
-
Get the list of sub-command aliases.
- getArgumentParser(SubCommandDef) - Method in class net.morimekta.console.args.SubCommand
-
Get the sub-commands internal argument argumentParser initializes with it's
own options.
- getBefore() - Method in class net.morimekta.console.util.STTYModeSwitcher
-
Get the mode that was replaced by the switcher.
- getCurrentMode() - Method in class net.morimekta.console.util.STTYModeSwitcher
-
Get the current TTY mode.
- getDefaultsShown() - Method in class net.morimekta.console.args.ArgumentOptions
-
- getDefaultValue() - Method in class net.morimekta.console.args.BaseArgument
-
A default value descriptor.
- getDescription() - Method in class net.morimekta.console.args.ArgumentParser
-
Short description of the program.
- getMetaKey() - Method in class net.morimekta.console.args.Property
-
- getMetaVar() - Method in class net.morimekta.console.args.BaseOption
-
Meta variable to show in usage printout.
- getMode() - Method in class net.morimekta.console.util.STTYModeSwitcher
-
Get the mode set by the seitcher.
- getName() - Method in class net.morimekta.console.args.BaseArgument
-
The argument name.
- getName() - Method in class net.morimekta.console.args.SubCommand
-
The sub-command name.
- getNegateName() - Method in class net.morimekta.console.args.Flag
-
The alternative (negating) long name for the flag.
- getOptionComparator() - Method in class net.morimekta.console.args.ArgumentOptions
-
- getPrefix() - Method in class net.morimekta.console.args.Argument
-
- getPrefix() - Method in class net.morimekta.console.args.BaseArgument
-
Prefix part of the usage usage message.
- getPrefix() - Method in class net.morimekta.console.args.BaseOption
-
- getPrefix() - Method in class net.morimekta.console.args.Property
-
- getPrefix() - Method in class net.morimekta.console.args.SubCommandSet
-
- getProgram() - Method in class net.morimekta.console.args.ArgumentParser
-
The name of the program.
- getProgramDescription() - Method in class net.morimekta.console.args.ArgumentParser
-
Get the program description line.
- getShortNames() - Method in class net.morimekta.console.args.BaseOption
-
Each character of the shortNames string is handled as a short option
that is parsed with the -[short] style.
- getSingleLineUsage() - Method in class net.morimekta.console.args.Argument
-
- getSingleLineUsage() - Method in class net.morimekta.console.args.ArgumentParser
-
Get the single line usage string for the parser.
- getSingleLineUsage() - Method in class net.morimekta.console.args.BaseArgument
-
Get the argument's single line usage string.
- getSingleLineUsage() - Method in class net.morimekta.console.args.BaseOption
-
- getSingleLineUsage() - Method in class net.morimekta.console.args.Flag
-
- getSingleLineUsage() - Method in class net.morimekta.console.args.Property
-
- getSingleLineUsage(String) - Method in class net.morimekta.console.args.SubCommandSet
-
Get the single line usage string for a given sub-command.
- getSingleLineUsage() - Method in class net.morimekta.console.args.SubCommandSet
-
- getTerminalSize() - Method in class net.morimekta.console.util.STTY
-
Get the terminal size.
- getTerminalSize(Runtime) - Static method in class net.morimekta.console.util.STTY
-
- getTTY() - Method in class net.morimekta.console.Terminal
-
- getUsage() - Method in class net.morimekta.console.args.BaseArgument
-
The argument usage description.
- getUsage() - Method in class net.morimekta.console.args.SubCommand
-
The basic usage description.
- getUsageWidth() - Method in class net.morimekta.console.args.ArgumentOptions
-
- getVersion() - Method in class net.morimekta.console.args.ArgumentParser
-
The program version string.
- GREEN - Static variable in class net.morimekta.console.chr.Color
-
- GS - Static variable in interface net.morimekta.console.chr.Char
-
Group Separator.
- i32() - Static method in interface net.morimekta.console.util.Parser
-
Make a 32-bit integer parser.
- i32(Consumer<Integer>) - Static method in interface net.morimekta.console.util.Parser
-
Make a 32-bit integer parsing consumer.
- i64() - Static method in interface net.morimekta.console.util.Parser
-
Make a 64-bit integer parser.
- i64(Consumer<Long>) - Static method in interface net.morimekta.console.util.Parser
-
Make a 64-bit integer parsing consumer.
- info(String, Object...) - Method in interface net.morimekta.console.LinePrinter
-
Print an info string message.
- inputBytes(Object...) - Static method in class net.morimekta.console.chr.CharUtil
-
Make a byte array representing the input bytes for generating
the given input.
- inputChars(Object...) - Static method in class net.morimekta.console.chr.CharUtil
-
Make a list of input
Chars that e.g.
- InputLine - Class in net.morimekta.console
-
Class that handled reading a line from terminal input with
character and line validators, and optional tab completion.
- InputLine(Terminal, String) - Constructor for class net.morimekta.console.InputLine
-
Constructor for simple line-input.
- InputLine(Terminal, String, InputLine.CharValidator, InputLine.LineValidator, InputLine.TabCompletion) - Constructor for class net.morimekta.console.InputLine
-
Constructor for complete line-input.
- InputLine(Terminal, String, InputLine.CharValidator, InputLine.LineValidator, InputLine.TabCompletion, Pattern) - Constructor for class net.morimekta.console.InputLine
-
Constructor for complete line-input.
- InputLine.CharValidator - Interface in net.morimekta.console
-
Character validator interface.
- InputLine.LineValidator - Interface in net.morimekta.console
-
Line validator interface.
- InputLine.TabCompletion - Interface in net.morimekta.console
-
Tab completion interface.
- InputPassword - Class in net.morimekta.console
-
Class that handled reading a password (hidden string) from terminal
input with an optional character replacement char.
- InputPassword(Terminal, String) - Constructor for class net.morimekta.console.InputPassword
-
Constructor for simple line-input.
- InputPassword(Terminal, String, String) - Constructor for class net.morimekta.console.InputPassword
-
Constructor for complete line-input.
- InputSelection<E> - Class in net.morimekta.console
-
Tabular selection with simple navigation.
- InputSelection(Terminal, String, List<E>, List<InputSelection.Command<E>>, InputSelection.EntryPrinter<E>) - Constructor for class net.morimekta.console.InputSelection
-
Create a selection instance.
- InputSelection(Terminal, String, List<E>, List<InputSelection.Command<E>>, InputSelection.EntryPrinter<E>, int, int, int) - Constructor for class net.morimekta.console.InputSelection
-
Create a selection instance.
- InputSelection(Terminal, String, List<E>, List<InputSelection.Command<E>>, InputSelection.EntryPrinter<E>, Clock, int, int, int) - Constructor for class net.morimekta.console.InputSelection
-
Create a selection instance.
- InputSelection.Action<E> - Interface in net.morimekta.console
-
The command action interface.
- InputSelection.Command<E> - Class in net.morimekta.console
-
Command.
- InputSelection.EntryPrinter<E> - Interface in net.morimekta.console
-
Interface for the entry printer.
- InputSelection.Reaction - Enum in net.morimekta.console
-
Command reaction enum.
- INSERT - Static variable in class net.morimekta.console.chr.Control
-
- IntegerParser() - Constructor for class net.morimekta.console.util.Parser.IntegerParser
-
- INVERT - Static variable in class net.morimekta.console.chr.Color
-
- isHidden() - Method in class net.morimekta.console.args.BaseArgument
-
True if the argument should be hidden by default.
- isHidden() - Method in class net.morimekta.console.args.SubCommand
-
If the sub-command is hidden by default.
- isInteractive() - Method in class net.morimekta.console.util.STTY
-
- isRepeated() - Method in class net.morimekta.console.args.BaseArgument
-
If the argument can be repeated (for arguments means to be multi-valued).
- isRequired() - Method in class net.morimekta.console.args.BaseArgument
-
If the argument is required (must be set).
- iterator(CharSequence) - Static method in class net.morimekta.console.chr.CharStream
-
- PAGE_DOWN - Static variable in class net.morimekta.console.chr.Control
-
- PAGE_UP - Static variable in class net.morimekta.console.chr.Control
-
- parse(String...) - Method in class net.morimekta.console.args.ArgumentParser
-
Parse arguments from the main method.
- parse(ArgumentList) - Method in class net.morimekta.console.args.ArgumentParser
-
Parse arguments from the main method.
- parse(String) - Method in class net.morimekta.console.util.Parser.DirParser
-
- parse(String) - Method in class net.morimekta.console.util.Parser.DoubleParser
-
- parse(String) - Method in class net.morimekta.console.util.Parser.EnumParser
-
- parse(String) - Method in class net.morimekta.console.util.Parser.FileParser
-
- parse(String) - Method in class net.morimekta.console.util.Parser.IntegerParser
-
- parse(String) - Method in class net.morimekta.console.util.Parser.LongParser
-
- parse(String) - Method in class net.morimekta.console.util.Parser.OutputDirParser
-
- parse(String) - Method in class net.morimekta.console.util.Parser.OutputFileParser
-
- parse(String) - Method in interface net.morimekta.console.util.Parser
-
Parse the value into a typed instance.
- parse(String) - Method in class net.morimekta.console.util.Parser.PathParser
-
- Parser<T> - Interface in net.morimekta.console.util
-
Value parser interface.
- Parser.DirParser - Class in net.morimekta.console.util
-
A converter to file instances, with validator & error message.
- Parser.DoubleParser - Class in net.morimekta.console.util
-
A converter to double values.
- Parser.EnumParser<E extends Enum<E>> - Class in net.morimekta.console.util
-
A converter to enum constant values.
- Parser.FileParser - Class in net.morimekta.console.util
-
A converter to file instances, with validator & error message.
- Parser.IntegerParser - Class in net.morimekta.console.util
-
A converter to integer values.
- Parser.LongParser - Class in net.morimekta.console.util
-
A converter to long values.
- Parser.OutputDirParser - Class in net.morimekta.console.util
-
A converter to file instances, with validator & error message.
- Parser.OutputFileParser - Class in net.morimekta.console.util
-
A converter to file instances, with validator & error message.
- Parser.PathParser - Class in net.morimekta.console.util
-
A converter to path values.
- Parser.TypedPutter<T> - Interface in net.morimekta.console.util
-
- path() - Static method in interface net.morimekta.console.util.Parser
-
Make a parser that parses a path.
- path(Consumer<Path>) - Static method in interface net.morimekta.console.util.Parser
-
Make a parsing consumer that parses a path.
- PathParser() - Constructor for class net.morimekta.console.util.Parser.PathParser
-
- print(E, Color) - Method in interface net.morimekta.console.InputSelection.EntryPrinter
-
Print the entry line.
- print(E) - Method in interface net.morimekta.console.InputSelection.EntryPrinter
-
Print the entry line with default background.
- print(Char) - Method in class net.morimekta.console.Terminal
-
- print(String) - Method in class net.morimekta.console.Terminal
-
- printableWidth() - Method in interface net.morimekta.console.chr.Char
-
The number of character spaces taken up by this symbol.
- printableWidth(String) - Static method in class net.morimekta.console.chr.CharUtil
-
How many single-characters worth of console real-estate will be taken
up by this string if printed.
- printableWidth() - Method in class net.morimekta.console.chr.Control
-
- printableWidth() - Method in class net.morimekta.console.chr.Unicode
-
- println(String) - Method in interface net.morimekta.console.LinePrinter
-
Print a new line to the terminal.
- println(String) - Method in class net.morimekta.console.Terminal
-
- println() - Method in class net.morimekta.console.Terminal
-
- printUsage(OutputStream) - Method in class net.morimekta.console.args.ArgumentParser
-
Print the option usage list.
- printUsage(OutputStream, boolean) - Method in class net.morimekta.console.args.ArgumentParser
-
Print the option usage list.
- printUsage(PrintWriter, boolean) - Method in class net.morimekta.console.args.ArgumentParser
-
Print the option usage list.
- printUsage(OutputStream) - Method in class net.morimekta.console.args.SubCommandSet
-
Print the sub-command list.
- printUsage(PrintWriter) - Method in class net.morimekta.console.args.SubCommandSet
-
Print the sub-command list.
- printUsage(OutputStream, boolean) - Method in class net.morimekta.console.args.SubCommandSet
-
Print the sub-command list.
- printUsage(PrintWriter, boolean) - Method in class net.morimekta.console.args.SubCommandSet
-
Print the sub-command list.
- printUsage(OutputStream, String) - Method in class net.morimekta.console.args.SubCommandSet
-
Print the option usage list for the command.
- printUsage(OutputStream, String, boolean) - Method in class net.morimekta.console.args.SubCommandSet
-
Print the option usage list for the command.
- printUsage(PrintWriter, String) - Method in class net.morimekta.console.args.SubCommandSet
-
Print the option usage list for the command.
- printUsage(PrintWriter, String, boolean) - Method in class net.morimekta.console.args.SubCommandSet
-
Print the option usage list.
- Property - Class in net.morimekta.console.args
-
A property is an option where the value is a key-value pair, and applies
the key value onto a putter.
- Property(char, String, Property.Putter) - Constructor for class net.morimekta.console.args.Property
-
Create a property argument with default key and value names.
- Property(String, char, String, Property.Putter) - Constructor for class net.morimekta.console.args.Property
-
Create a property argument with default key and value names.
- Property(char, String, String, String, Property.Putter) - Constructor for class net.morimekta.console.args.Property
-
Create a property argument.
- Property(char, String, String, String, Property.Putter, boolean) - Constructor for class net.morimekta.console.args.Property
-
Create a property argument.
- Property(String, char, String, String, String, Property.Putter, boolean) - Constructor for class net.morimekta.console.args.Property
-
Create a property argument.
- Property.Putter - Interface in net.morimekta.console.args
-
Basic interface for putting value onto a map, properties or config.
- put(String, String) - Method in interface net.morimekta.console.args.Property.Putter
-
Put the property into place.
- put(String, T) - Method in interface net.morimekta.console.util.Parser.TypedPutter
-
Put a typed value
- putAs(Property.Putter, String) - Static method in interface net.morimekta.console.util.Parser
-
Convenience method to put a specific value into a putter.