tomp.ext.cmd
Class ConsoleApplication

java.lang.Object
  |
  +--tomp.ext.Application
        |
        +--tomp.ext.cmd.ConsoleApplication

public class ConsoleApplication
extends Application

ConsoleApplication is a simple application that can be started from command line (console).


Field Summary
 
Fields inherited from class tomp.ext.Application
LOGFILE, NONE, STDERR
 
Constructor Summary
ConsoleApplication()
           
 
Method Summary
static void run(ConsoleApplication app, java.lang.String[] args)
          Static method starting a ConsoleApplication.
protected  void run(java.lang.String[] args)
          This nonstatic function does the actual ConsoleApplication invoking.
 
Methods inherited from class tomp.ext.Application
allocateEXTName, allocateName, allocateName, allocateNCName, endInputDocument, getActionClass, getCodeForURI, getDefaultMySQLDriver, getDefaultOutputEncoding, getDefaultOutputMethod, getDocumentBuilderFactory, getEmptyAC, getNamePool, getTransformerFactory, id, makeAction, newBuilder, newDocument, newEmptyAC, newNSArrayForName, newTemplates, newTemplatesHandler, registerActionClass, startInputDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleApplication

public ConsoleApplication()
Method Detail

run

public static void run(ConsoleApplication app,
                       java.lang.String[] args)
Static method starting a ConsoleApplication. Acts as a wrapper catching the EXTExceptions and logging them.

Parameters:
app - ConsoleApplication to be started
args - the command line arguments

run

protected void run(java.lang.String[] args)
            throws EXTException
This nonstatic function does the actual ConsoleApplication invoking.

Parameters:
args - the command line arguments
EXTException