ch.elca.el4j.services.statistics.detailed.processing
Class StatisticsOutputter

java.lang.Object
  extended by ch.elca.el4j.services.statistics.detailed.processing.StatisticsOutputter

public class StatisticsOutputter
extends Object

This class provides methods for visualizing measurement data. This class was ported from Leaf 2. Original authors: WHO,SHO. Leaf2 package name: ch.elca.leaf.services.measuring

Author:
David Stefan (DST)
File-location:
StatisticsOutputter
Last check-in date:
2009-12-01 10:59:54 +0100 (Di, 01. Dez 2009) by jonasha for revision 4010

Constructor Summary
StatisticsOutputter(List<MeasureItem> measures)
          The constructor.
 
Method Summary
 void createCVSFile(String filename, String measureId)
          Write CSV file with measures to filename given.
 void createDiagFile(String filename, String measureId, int width, int height)
          Compute SVGGraph and write it to filename given.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatisticsOutputter

public StatisticsOutputter(List<MeasureItem> measures)
The constructor.

Parameters:
measures - The measures.
Method Detail

createDiagFile

public void createDiagFile(String filename,
                           String measureId,
                           int width,
                           int height)
Compute SVGGraph and write it to filename given.

Parameters:
filename - Name of file to write
measureId - Id of measurements that graph is computed
width - Width of the diagram
height - Height of the diagram

createCVSFile

public void createCVSFile(String filename,
                          String measureId)
Write CSV file with measures to filename given.

Parameters:
filename - Name of file to write
measureId - Id of measurements that graph is computed


Copyright © 2005-2011 ELCA. All Rights Reserved.