Example usage for org.apache.commons.cli HelpFormatter subclass-usage

List of usage examples for org.apache.commons.cli HelpFormatter subclass-usage

Introduction

In this page you can find the example usage for org.apache.commons.cli HelpFormatter subclass-usage.

Usage

From source file de.weltraumschaf.groundzero.opt.commons.CustomHelpFormatter.java

/**
 * Custom help formatter.
 *
 * @author Sven Strittmatter <weltraumschaf@googlemail.com>
 */
final class CustomHelpFormatter extends HelpFormatter {

From source file ch.cyberduck.cli.TerminalHelpFormatter.java

public final class TerminalHelpFormatter extends HelpFormatter {

    private static final int DEFAULT_WIDTH = 200;

    public TerminalHelpFormatter() {
        this(DEFAULT_WIDTH);

From source file kieker.tools.util.CLIHelpFormatter.java

/**
 * Slightly changes default output of Common CLI's {@link HelpFormatter} starting the descriptions in a new line rather then
 * indented in a column right to the longest option and adding an empty line between options.
 * 
 * The class has been implemented by copying in the {@link #renderOptions(StringBuffer, int, Options, int, int)} original
 * implementation and then modifying it step by step; hence, it includes third-party code from Apache's Commons CLI, licensed under Apache License, Version 2.0.

From source file net.sf.clichart.main.FixedHelpFormatter.java

/**
 * When printing a help string, the HelpFormatter class in commons cli only shows one option that has no short option.
 * This overrides the renderOptions method to change this behaviour.
 *
 * Also, the comparator used to sort the options doesn't work properly :( - see inner class
 *

From source file org.openmeetings.cli.OmHelpFormatter.java

public class OmHelpFormatter extends HelpFormatter {
    private static String GENERAL_OPTION_GROUP = "";
    private int maxPrefixLength = 0;

    @SuppressWarnings("unchecked")
    private List<OmOption> getReqOptions(Options opts) {

From source file org.apache.openmeetings.cli.OmHelpFormatter.java

public class OmHelpFormatter extends HelpFormatter {
    private static String GENERAL_OPTION_GROUP = "";
    private int maxPrefixLength = 0;

    @SuppressWarnings("unchecked")
    private static List<OmOption> getReqOptions(Options opts) {

From source file de.rrze.idmone.utils.jidgen.cli.IdGenHelpFormatter.java

/**
 * This class is an extension to the org.apache.commons.cli.HelpFormatter
 * class with some modifications to make it fit to the needs
 * jidgen.
 * 
 * @see <a href="http://commons.apache.org/cli/api-release/org/apache/commons/cli/HelpFormatter.html">http://commons.apache.org/cli/api-release/org/apache/commons/cli/HelpFormatter.html</a>