io.args
Class ArgumentDescription

java.lang.Object
  extended byio.args.ArgumentDescription

public class ArgumentDescription
extends java.lang.Object

Container for command line argument specs. ArgumentParser validates the arguments obtained from the command line against a HashMap of ArgumentDescriptions.

Version:
0.1, March 2005
Author:
Vincent KrŠutler
See Also:
ArgumentTypeSpec, ArgumentValueSpec, ArgumentParser

Field Summary
 ArgumentTypeSpec type
           
 ArgumentValueSpec values
           
 
Constructor Summary
ArgumentDescription()
           
ArgumentDescription(ArgumentTypeSpec aType)
           
ArgumentDescription(ArgumentTypeSpec aType, ArgumentValueSpec someValues)
           
ArgumentDescription(ArgumentValueSpec someValues)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public ArgumentTypeSpec type

values

public ArgumentValueSpec values
Constructor Detail

ArgumentDescription

public ArgumentDescription(ArgumentTypeSpec aType,
                           ArgumentValueSpec someValues)

ArgumentDescription

public ArgumentDescription(ArgumentTypeSpec aType)

ArgumentDescription

public ArgumentDescription(ArgumentValueSpec someValues)

ArgumentDescription

public ArgumentDescription()