Package joptsimple
Interface HelpFormatter
- All Known Implementing Classes:
BuiltinHelpFormatter
public interface HelpFormatter
Represents objects charged with taking a set of option descriptions and producing some help text from them.
-
Method Summary
Modifier and Type Method Description java.lang.String
format(java.util.Map<java.lang.String,? extends OptionDescriptor> options)
Produces help text, given a set of option descriptors.
-
Method Details
-
format
Produces help text, given a set of option descriptors.- Parameters:
options
- descriptors for the configured options of a parser- Returns:
- text to be used as help
- See Also:
OptionParser.printHelpOn(java.io.Writer)
,OptionParser.formatHelpWith(HelpFormatter)
-