Package coneforest.cli
GNU-compatible command-line options processor.
Features
- Support for either short (
-V) or long (--version) option forms. - Support for options with arguments (
-o file.txt,-ofile.txt,--output-file file.txt,--output-file=file.txt). - Short options can be bundled (
-xvf). - Toggle options processing with
--.
- Author:
- Anton Shvetz
-
Class Summary Class Description Messages Option Base class representing an abstract option.OptionBoolean OptionCollector<T> Base class representing an abstract option holding a list of objects.OptionCollectorDouble An option holding a list ofDoublevalues.OptionCollectorFloat An option holding a list ofFloatvalues.OptionCollectorInteger An option holding a list ofIntegervalues.OptionCollectorLong An option holding a list ofLongvalues.OptionCollectorString An option holding a list ofStringvalues.OptionCounter Class representing a counter.OptionDouble OptionFlag Class representing a flag.OptionFloat OptionHolder<T> Base class representing an abstract option holding an object.OptionInteger OptionLong OptionPath OptionString OptionToggle Class representing a toggle.OptionWithArg<T> Base class representing an abstract option with argument.OptionWithoutArg<T> Base class representing an abstract option without argument.Processor Options processor. -
Exception Summary Exception Description ProcessingException Thrown when error occured during options processing.