Class HelpFormatter

java.lang.Object
org.jf.util.jcommander.HelpFormatter

public class HelpFormatter extends Object
  • Field Details

    • width

      private int width
  • Constructor Details

    • HelpFormatter

      public HelpFormatter()
  • Method Details

    • width

      @Nonnull public HelpFormatter width(int width)
    • getExtendedParameters

      @Nonnull private static ExtendedParameters getExtendedParameters(com.beust.jcommander.JCommander jc)
    • getCommandAliases

      @Nonnull private static List<String> getCommandAliases(com.beust.jcommander.JCommander jc)
    • includeParametersInUsage

      private static boolean includeParametersInUsage(@Nonnull com.beust.jcommander.JCommander jc)
    • getPostfixDescription

      @Nonnull private static String getPostfixDescription(@Nonnull com.beust.jcommander.JCommander jc)
    • getParameterArity

      private int getParameterArity(com.beust.jcommander.ParameterDescription param)
    • getSortedParameters

      private List<com.beust.jcommander.ParameterDescription> getSortedParameters(com.beust.jcommander.JCommander jc)
    • format

      @Nonnull public String format(@Nonnull com.beust.jcommander.JCommander... jc)
    • format

      @Nonnull public String format(@Nonnull List<com.beust.jcommander.JCommander> commandHierarchy)