Class Options

java.lang.Object
  extended by Options
public class Options
extends java.lang.Object

Class Options

Version:
1.0
Author:
Fabien Torre

Constructor Summary
Options()
           
 
Method Summary
 void addOption(java.lang.String name, java.lang.Boolean defValue, java.lang.String description)
           
 void addOption(java.lang.String name, java.lang.Integer defValue, java.lang.String description)
           
 void addOption(java.lang.String name, java.lang.String defValue, java.lang.String description)
           
 java.lang.Object get(java.lang.String name)
           
 void help()
           
 java.lang.Boolean isUserDefined(java.lang.String name)
           
 void outputValues()
           
 void parseArgs(java.lang.String[] args)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Options

public Options()
Method Detail

addOption

public void addOption(java.lang.String name,
                      java.lang.String defValue,
                      java.lang.String description)

addOption

public void addOption(java.lang.String name,
                      java.lang.Boolean defValue,
                      java.lang.String description)

addOption

public void addOption(java.lang.String name,
                      java.lang.Integer defValue,
                      java.lang.String description)

get

public java.lang.Object get(java.lang.String name)

isUserDefined

public java.lang.Boolean isUserDefined(java.lang.String name)

parseArgs

public void parseArgs(java.lang.String[] args)

help

public void help()

outputValues

public void outputValues()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object