Package org.apache.jackrabbit.standalone.cli

Examples of org.apache.jackrabbit.standalone.cli.Argument


        out.print(desc.getName() + " ");

        // Arguments
        Iterator iter = desc.getArguments().values().iterator();
        while (iter.hasNext()) {
            Argument arg = (Argument) iter.next();
            out.print("<" + arg.getLocalizedArgName() + "> ");
        }

        // Options
        iter = desc.getOptions().values().iterator();
        while (iter.hasNext()) {
            Option arg = (Option) iter.next();
            out.print("-" + arg.getName() + " <" + arg.getLocalizedArgName()
                    + "> ");
        }

        // flags
        iter = desc.getFlags().values().iterator();
        while (iter.hasNext()) {
            Flag arg = (Flag) iter.next();
            out.print("-" + arg.getName() + " ");
        }
        out.println();

        // Alias
        if (desc.getAlias().size() > 0) {
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.standalone.cli.Argument

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.