Java org.apache.commons.cli2.commandline Parser fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.cli2.commandline Parser fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.cli2.commandline Parser.

The text is from its open source code.

Constructor

Method

CommandLineparse(final String[] arguments)
Parse the arguments according to the specified options and properties.
CommandLineparseAndHelp(final String[] arguments)
Parse the arguments according to the specified options and properties and displays the usage screen if the CommandLine is not valid or the help option was specified.
voidsetGroup(final Group group)
Sets the Group of options to parse against
voidsetHelpFormatter(final HelpFormatter helpFormatter)
Sets the HelpFormatter to use with the simplified parsing.
voidsetHelpOption(final Option helpOption)
Sets the help option to use with the simplified parsing.
voidsetHelpTrigger(final String helpTrigger)
Sets the help option to use with the simplified parsing.