iaik.tc.utils.cmdline
Class AbstractApp

java.lang.Object
  extended by iaik.tc.utils.cmdline.AbstractApp

public abstract class AbstractApp
extends java.lang.Object

This class represents the minimal functionality an application must implement if it wants to make use of the command line library.


Constructor Summary
AbstractApp()
           
 
Method Summary
abstract  void execute()
          This is the main method of the application.
abstract  ParamParser getParamParser()
          This method returns a ParamParser instance of the application.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractApp

public AbstractApp()
Method Detail

getParamParser

public abstract ParamParser getParamParser()
This method returns a ParamParser instance of the application.


execute

public abstract void execute()
                      throws CommandlineException
This is the main method of the application. It is called after all parameters have been parsed (and no errors have occurred).

Throws:
CommandlineException