org.jcoderz.phoenix.report
Class StatisticCollector

java.lang.Object
  extended by org.jcoderz.phoenix.report.StatisticCollector

public final class StatisticCollector
extends Object

TODO: Extend this class to run historic tool on existing reports.

Author:
Andreas Mandel

Constructor Summary
StatisticCollector(Report report, File outDir, String timestamp)
          Creates a new StatisticCollector object.
StatisticCollector(Report report, String prefix, File outDir, String timestamp)
          Creates a new StatisticCollector object.
 
Method Summary
 void createCharts()
          Creates the charts.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatisticCollector

public StatisticCollector(Report report,
                          File outDir,
                          String timestamp)
Creates a new StatisticCollector object.

Parameters:
report - the input report.
outDir - the output dir for the charts and summary xml.
timestamp - the timestamp for the summary db entry.

StatisticCollector

public StatisticCollector(Report report,
                          String prefix,
                          File outDir,
                          String timestamp)
Creates a new StatisticCollector object.

Parameters:
report - the input report.
prefix - the package prefix
outDir - the output dir for the charts and summary xml.
timestamp - the timestamp for the summary db entry.
Method Detail

createCharts

public void createCharts()
                  throws IOException
Creates the charts.

Throws:
IOException - if the image can not be written.


Copyright 2007 The jCoderZ Project.