org.jcon.tools
Class MakeReport

java.lang.Object
  extended by org.jcon.tools.MakeReport

public class MakeReport
extends java.lang.Object

A report generation tool. Provide it with two files in TOF format; one containing a TextReportEngine and the other containing whatever you want the report engine to use as its data source. It spits the report out to standard output or a specified file.

Author:
Paul Reavis

Constructor Summary
MakeReport()
           
MakeReport(java.io.File reportSpecFile, java.io.File dataFile, java.io.File outputFile, int skip)
           
 
Method Summary
 void generateReport()
           
 java.io.File getDataFile()
          TOF file containing the object to run the report on.
 java.io.File getOutputFile()
          File to spit the resulting report into.
 java.io.File getReportSpecFile()
          TOF file containing the report specification.
static void main(java.lang.String[] args)
           
 void setDataFile(java.io.File newDataFile)
          TOF file containing the object to run the report on.
 void setOutputFile(java.io.File newOutputFile)
          File to spit the resulting report into.
 void setReportSpecFile(java.io.File newReportSpecFile)
          TOF file containing the report specification.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MakeReport

public MakeReport()

MakeReport

public MakeReport(java.io.File reportSpecFile,
                  java.io.File dataFile,
                  java.io.File outputFile,
                  int skip)
Method Detail

main

public static void main(java.lang.String[] args)

generateReport

public void generateReport()
                    throws java.io.IOException
Throws:
java.io.IOException

getReportSpecFile

public java.io.File getReportSpecFile()
TOF file containing the report specification.


setReportSpecFile

public void setReportSpecFile(java.io.File newReportSpecFile)
TOF file containing the report specification.


getDataFile

public java.io.File getDataFile()
TOF file containing the object to run the report on.


setDataFile

public void setDataFile(java.io.File newDataFile)
TOF file containing the object to run the report on.


getOutputFile

public java.io.File getOutputFile()
File to spit the resulting report into.


setOutputFile

public void setOutputFile(java.io.File newOutputFile)
File to spit the resulting report into.