net.sourceforge.toscanaj
Class DataDump

java.lang.Object
  extended bynet.sourceforge.toscanaj.DataDump

public class DataDump
extends java.lang.Object

This is an executable application that takes an CSX file and dumps the data into a resolved format. The call looks like this: DataDump [options] filename.csx And the dump will end up on stdout. Run "DataDump -help" for options. Return values: 0: everything went well 1: error in parameters 2: could not find/parse input 3: reserved 4: could not connect to database 5: could not write output 6: problem writing an image 99: unknown problem


Constructor Summary
DataDump()
           
 
Method Summary
static void dumpData(ConceptualSchema schema, ConceptInterpreter interpreter, java.io.OutputStream outputStream, java.lang.String filterClause, boolean includeContingentLists, boolean includeIntentExtent, org.tockit.canvas.imagewriter.GraphicFormat graphicFormat)
           
protected static void dumpData(java.io.File inputFile, java.lang.String filterClause, boolean includeLists, java.lang.String graphicFormatExtension)
          The main procedure.
protected static void dumpDiagram(Diagram2D diagram, ConceptInterpreter interpreter, DiagramHistory diagramHistory, org.jdom.Element targetElement, boolean includeContingentLists, boolean includeIntentExtent)
          Dumps a single diagram into the given JDOM element.
static void main(java.lang.String[] args)
          The main method called from command line.
protected static void printUsage(java.io.PrintStream stream)
          Prints the usage information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataDump

public DataDump()
Method Detail

dumpData

protected static void dumpData(java.io.File inputFile,
                               java.lang.String filterClause,
                               boolean includeLists,
                               java.lang.String graphicFormatExtension)
The main procedure.


dumpData

public static void dumpData(ConceptualSchema schema,
                            ConceptInterpreter interpreter,
                            java.io.OutputStream outputStream,
                            java.lang.String filterClause,
                            boolean includeContingentLists,
                            boolean includeIntentExtent,
                            org.tockit.canvas.imagewriter.GraphicFormat graphicFormat)
                     throws java.io.IOException,
                            org.tockit.canvas.imagewriter.ImageGenerationException
Throws:
java.io.IOException
org.tockit.canvas.imagewriter.ImageGenerationException

dumpDiagram

protected static void dumpDiagram(Diagram2D diagram,
                                  ConceptInterpreter interpreter,
                                  DiagramHistory diagramHistory,
                                  org.jdom.Element targetElement,
                                  boolean includeContingentLists,
                                  boolean includeIntentExtent)
Dumps a single diagram into the given JDOM element.

Throws:
DatabaseException

printUsage

protected static void printUsage(java.io.PrintStream stream)
Prints the usage information.


main

public static void main(java.lang.String[] args)
The main method called from command line.



The ToscanaJ project