io.args
Class ArgumentTypeSpec

java.lang.Object
  extended byio.args.ArgumentTypeSpec

public class ArgumentTypeSpec
extends java.lang.Object

Container for command line argument type specs.

Author:
Vincent Kraeutler
See Also:
ArgumentValueSpec

Field Summary
 java.lang.String[] defaultValue
           
 java.lang.String description
           
static java.lang.String emptyDefault
           
 java.lang.String name
           
 boolean required
           
 
Constructor Summary
ArgumentTypeSpec()
           
ArgumentTypeSpec(java.lang.String aName, java.lang.String aDescription)
           
ArgumentTypeSpec(java.lang.String aName, java.lang.String aDescription, java.lang.String aDefaultValue)
           
ArgumentTypeSpec(java.lang.String aName, java.lang.String aDescription, java.lang.String[] aDefaultValue)
           
 
Method Summary
 java.lang.String toString()
          convert argument to String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

emptyDefault

public static final java.lang.String emptyDefault

name

public java.lang.String name

description

public java.lang.String description

defaultValue

public java.lang.String[] defaultValue

required

public boolean required
Constructor Detail

ArgumentTypeSpec

public ArgumentTypeSpec()

ArgumentTypeSpec

public ArgumentTypeSpec(java.lang.String aName,
                        java.lang.String aDescription)
Parameters:
aName - the name of the argument
aDescription - the description (for the user) of the argument

ArgumentTypeSpec

public ArgumentTypeSpec(java.lang.String aName,
                        java.lang.String aDescription,
                        java.lang.String aDefaultValue)
Parameters:
aName - the name of the argument
aDescription - the description (for the user) of the argument
aDefaultValue - the default value of the argument

ArgumentTypeSpec

public ArgumentTypeSpec(java.lang.String aName,
                        java.lang.String aDescription,
                        java.lang.String[] aDefaultValue)
Parameters:
aName - the name of the argument
aDescription - the description (for the user) of the argument
aDefaultValue - the default values of the argument
Method Detail

toString

public java.lang.String toString()
convert argument to String.

See Also:
Object.toString()