com.ibm.commerce.marketingcenter.events.util
Class ImportStats

java.lang.Object
  |
  +--com.ibm.commerce.marketingcenter.events.util.ImportStats

public class ImportStats
extends java.lang.Object

This class is used to connect to the database and import the content of an XML file (created by ExportStats) into the database. This program is an utility. The required command line arguments to run this utility are:


Of course, all these arguments appear on the same line when you run this command.


Field Summary
static java.lang.String CMD_LINE_HELP
          Usage of the utility.
static java.lang.String COPYRIGHT
           
 
Constructor Summary
ImportStats()
          Constructs the ImportStats object.
 
Method Summary
static void main(java.lang.String[] args)
          Main method of this utility.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CMD_LINE_HELP

public static final java.lang.String CMD_LINE_HELP
Usage of the utility. This message will appear if you run this command incorrectly.

COPYRIGHT

public static final java.lang.String COPYRIGHT
Constructor Detail

ImportStats

public ImportStats()
Constructs the ImportStats object.
Method Detail

main

public static void main(java.lang.String[] args)
Main method of this utility. The DBXMLFileReader object is used to read from the XML file.
Parameters:
args - The command line argument must follow this pattern:
  • -D DB2 or ORACLE or DB2/390
  • -N databease name
  • -U database user ID
  • -P database password
  • -F output file name

Of course, all these arguments appear on the same line when you run this command.