net.sf.jbenchmark.util.format
Class CSVFormatter

java.lang.Object
  extended bynet.sf.jbenchmark.util.format.AbstractFormatter
      extended bynet.sf.jbenchmark.util.format.CSVFormatter
All Implemented Interfaces:
StatisticFormatter

public class CSVFormatter
extends AbstractFormatter

The CSV formatter separates each value with a comma.

Version:
$Id: CSVFormatter.java,v 1.1 2004/07/01 07:11:46 twpatkua Exp $
Author:
Patrick Kua

Field Summary
static java.lang.String CSV_SEPARATOR
          Comma character separates each item in a CSV file.
 
Fields inherited from class net.sf.jbenchmark.util.format.AbstractFormatter
AVERAGE_COLUMN_LENGTH
 
Constructor Summary
CSVFormatter()
           
 
Method Summary
 java.lang.String getFormattedHeading(StatisticsSummary summary)
          For each of the headings, return a string that separates each of them.
 java.lang.String getFormattedLine(StatisticsSummary summary)
          For each formatted value, separate via a comma.
 
Methods inherited from class net.sf.jbenchmark.util.format.AbstractFormatter
getFormattedValue, getFormattedValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CSV_SEPARATOR

public static final java.lang.String CSV_SEPARATOR
Comma character separates each item in a CSV file.

See Also:
Constant Field Values
Constructor Detail

CSVFormatter

public CSVFormatter()
Method Detail

getFormattedHeading

public java.lang.String getFormattedHeading(StatisticsSummary summary)
For each of the headings, return a string that separates each of them.


getFormattedLine

public java.lang.String getFormattedLine(StatisticsSummary summary)
For each formatted value, separate via a comma.