Package org.verapdf.cli
Class FormatterHelper
java.lang.Object
com.beust.jcommander.DefaultUsageFormatter
org.verapdf.cli.FormatterHelper
- All Implemented Interfaces:
IUsageFormatter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendAllParametersDetails(StringBuilder out, int indentCount, String indent, List<ParameterDescription> sortedParameters) Appends the details of all parameters in the given order to the argument string builder, indenting every line with indentCount-many indent.Methods inherited from class com.beust.jcommander.DefaultUsageFormatter
appendCommands, appendMainLine, getCommandDescription, getI18nString, s, usage, usage, usage, usage, usage, wrapDescription, wrapDescription
-
Constructor Details
-
FormatterHelper
-
-
Method Details
-
appendAllParametersDetails
public void appendAllParametersDetails(StringBuilder out, int indentCount, String indent, List<ParameterDescription> sortedParameters) Description copied from class:DefaultUsageFormatterAppends the details of all parameters in the given order to the argument string builder, indenting every line with indentCount-many indent.- Overrides:
appendAllParametersDetailsin classDefaultUsageFormatter- Parameters:
out- the builder to append toindentCount- the amount of indentation to applyindent- the indentationsortedParameters- the parameters to append to the builder
-