Serialized Form (Commons CLI 1.2 API)

Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

# Serialized Form

Package org.apache.commons.cli

Class org.apache.commons.cli.AlreadySelectedException extends ParseException implements Serializable

Serialized Fields

### group

    OptionGroup group

  The option group selected.

### option

    Option option

  The option that triggered the exception.

Class org.apache.commons.cli.CommandLine extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

### args

    List args

  the unrecognised options/arguments

### options

    List options

  the processed options

Class org.apache.commons.cli.MissingArgumentException extends ParseException implements Serializable

Serialized Fields

### option

    Option option

  The option requiring additional arguments

Class org.apache.commons.cli.MissingOptionException extends ParseException implements Serializable

Serialized Fields

### missingOptions

    List missingOptions

  The list of missing options

Class org.apache.commons.cli.Option extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

### opt

    String opt

  the name of the option

### longOpt

    String longOpt

  the long representation of the option

### argName

    String argName

  the name of the argument for this option

### description

    String description

  description of the option

### required

    boolean required

  specifies whether this option is required to be present

### optionalArg

    boolean optionalArg

  specifies whether the argument value of this Option is optional

### numberOfArgs

    int numberOfArgs

  the number of argument values this option can have

### type

    Object type

  the type of this Option

### values

    List values

  the list of argument values

### valuesep

    char valuesep

  the character that is the value separator

Class org.apache.commons.cli.OptionGroup extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

### optionMap

    Map optionMap

  hold the options

### selected

    String selected

  the name of the selected option

### required

    boolean required

  specified whether this group is required

Class org.apache.commons.cli.Options extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

### shortOpts

    Map shortOpts

  a map of the options with the character key

### longOpts

    Map longOpts

  a map of the options with the long key

### requiredOpts

    List requiredOpts

  a map of the required options

### optionGroups

    Map optionGroups

  a map of the option groups

Class org.apache.commons.cli.ParseException extends Exception implements Serializable

Class org.apache.commons.cli.UnrecognizedOptionException extends ParseException implements Serializable

Serialized Fields

### option

    String option

  The unrecognized option

Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2002-2009 The Apache Software Foundation. All Rights Reserved.