net.sf.xaj.support
Class XmlLoaderTool

java.lang.Object
  extended by net.sf.xaj.support.XmlLoaderTool

public class XmlLoaderTool
extends java.lang.Object

A command-line tool to load a set of XML data into a Xaj database.

Version:
$Revision: 45 $ $Date: 2007-10-07 19:40:28 +1300 (Sun, 07 Oct 2007) $
Author:
matt

Nested Class Summary
static class XmlLoaderTool.Command
          A command-line arguments bean object.
 
Constructor Summary
XmlLoaderTool(XmlLoaderTool.Command cmd)
          Construct from a Command object.
 
Method Summary
static void main(java.lang.String[] args)
          Run the XML data load tool.
 void run()
          Run the tool.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlLoaderTool

public XmlLoaderTool(XmlLoaderTool.Command cmd)
Construct from a Command object.

Parameters:
cmd - the command object
Method Detail

run

public void run()
         throws java.lang.Exception
Run the tool.

Throws:
java.lang.Exception - if any error occurs

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Run the XML data load tool.

Parameters:
args - the command line arguments
Throws:
java.lang.Exception - if any error occurs