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

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

Introduction

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

Usage

From source file at.deder.ybr.YbrOptionParser.java

/**
 *
 * @author ederda
 */
public class YbrOptionParser extends PosixParser {
    public YbrOptionParser() {

From source file com.conversantmedia.mapreduce.tool.IgnoreUnknownParser.java

/**
 * Parser override to ignore unknown options. This
 * enables us to parse config file option
 *
 */
public class IgnoreUnknownParser extends PosixParser {

From source file org.ugent.caagt.genestacker.cli.ExtendedPosixParser.java

/**
 * Extends Posix parser to ignore unknown options if desired.
 * 
 * @author <a href="mailto:herman.debeukelaer@ugent.be">Herman De Beukelaer</a>
 */
public class ExtendedPosixParser extends PosixParser {

From source file org.fastlsh.util.HelpfulCommandlineParser.java

public class HelpfulCommandlineParser extends PosixParser {
    @Override
    public CommandLine parse(Options options, String[] arguments) throws ParseException {
        try {
            return super.parse(options, arguments);
        } catch (ParseException e) {

From source file org.rhq.server.control.RHQPosixParser.java

/**
 * @author Jirka Kremser
 * 
 * This parser class throws an exception if it finds some unknown option. 
 * Option in the commons-cli terminology is the command line token starting with '-' or '--')
 *

From source file captor.app.CaptorOptionsParser.java

public class CaptorOptionsParser extends PosixParser {
    protected static String getDefaultInstallPath() {
        String[] installPathnames = new String[2];
        File installPath = null;

        installPathnames[0] = System.getenv("CAPTOR_HOME");

From source file com.net2plan.internal.CommandLineParser.java

/**
 * Extends the {@code PosixParser} to modify the {@code processOption}
 * method.
 * 
 * @author Pablo Pavon-Marino, Jose-Luis Izquierdo-Zaragoza
 * @since 0.2.2

From source file nl.nekoconeko.glaciercmd.config.IgnorePosixParser.java

public class IgnorePosixParser extends PosixParser {
    private boolean ignoreUnknown = false;

    public IgnorePosixParser() {
        super();
    }

From source file nl.cyso.vcloud.client.config.IgnorePosixParser.java

public class IgnorePosixParser extends PosixParser {
    private boolean ignoreUnknown = false;

    public IgnorePosixParser() {
        super();
    }

From source file com.conversantmedia.mapreduce.tool.PosixParserRequiredProps.java

/**
 * An extension to the base {@link org.apache.commons.cli.PosixParser} that
 * allows 'required' arguments to be passed in a properties file
 * as well as the command line. By default, the properties file props
 * aren't removed from the required list.
 *