Klasse DefaultHelpFormatter
java.lang.Object
com.github.hypfvieh.cli.parser.formatter.DefaultHelpFormatter
- Alle implementierten Schnittstellen:
IUsageFormatter
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Konstruktordetails
-
DefaultHelpFormatter
public DefaultHelpFormatter()
-
-
Methodendetails
-
format
public String format(List<CmdArgOption<?>> _options, String _longOptPrefix, String _shortOptPrefix, String _mainClassName) Formats the given options as proper help-text.
Given _mainClassName is not used and can be null.- Angegeben von:
formatin SchnittstelleIUsageFormatter- Parameter:
_options- registered options, maybe empty - never null_longOptPrefix- prefix for long options_shortOptPrefix- prefix for short options_mainClassName- main class name, maybe null- Gibt zurück:
- formatted String
-