org.jscience.ml.cml.util
Class CommandOptions

java.lang.Object
  extended by org.jscience.ml.cml.util.CommandOptions

public class CommandOptions
extends java.lang.Object

DOCUMENT ME!


Constructor Summary
CommandOptions()
          do not use.
CommandOptions(java.lang.String[] args, CommandOptionManager com)
          Creates a new CommandOptions object.
 
Method Summary
protected  CommandOption[] extendOptions()
          subclass should override this
 CommandOptionManager getCommandOptionManager()
          DOCUMENT ME!
protected  CommandOption[] getOptions()
          DOCUMENT ME!
 void process()
          DOCUMENT ME!
 void setCommandOptionManager(CommandOptionManager commandOptionManager)
          DOCUMENT ME!
 void usage(java.io.PrintStream out)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandOptions

public CommandOptions()
do not use.


CommandOptions

public CommandOptions(java.lang.String[] args,
                      CommandOptionManager com)
Creates a new CommandOptions object.

Parameters:
args - DOCUMENT ME!
com - DOCUMENT ME!
Method Detail

extendOptions

protected CommandOption[] extendOptions()
subclass should override this

Returns:
DOCUMENT ME!

getOptions

protected CommandOption[] getOptions()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setCommandOptionManager

public void setCommandOptionManager(CommandOptionManager commandOptionManager)
DOCUMENT ME!

Parameters:
commandOptionManager - DOCUMENT ME!

getCommandOptionManager

public CommandOptionManager getCommandOptionManager()
DOCUMENT ME!

Returns:
DOCUMENT ME!

usage

public void usage(java.io.PrintStream out)
DOCUMENT ME!

Parameters:
out - DOCUMENT ME!

process

public void process()
             throws java.lang.Exception
DOCUMENT ME!

Throws:
java.lang.Exception - DOCUMENT ME!