Package org.verapdf.cli
Class FormatterHelper
- java.lang.Object
-
- com.beust.jcommander.DefaultUsageFormatter
-
- org.verapdf.cli.FormatterHelper
-
- All Implemented Interfaces:
IUsageFormatter
public class FormatterHelper extends DefaultUsageFormatter
-
-
Constructor Summary
Constructors Constructor Description FormatterHelper(JCommander commander)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendAllParametersDetails(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 Detail
-
FormatterHelper
public FormatterHelper(JCommander commander)
-
-
Method Detail
-
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
-
-