net.sf.jbenchmark.util.format
Class TwikiFormatter

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

public class TwikiFormatter
extends AbstractFormatter

Formats the statistic summary in Twiki Format.

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

Field Summary
static java.lang.String TWIKI_COLUMN_SEPARATOR
          Twiki character for separating columns.
static java.lang.String TWIKI_HEADING_CHARACTER
          Twiki character for designating heading or bold.
 
Fields inherited from class net.sf.jbenchmark.util.format.AbstractFormatter
AVERAGE_COLUMN_LENGTH
 
Constructor Summary
TwikiFormatter()
           
 
Method Summary
 java.lang.String getFormattedHeading(StatisticsSummary summary)
          Return the heading a string that is formatted for Twiki table headings.
 java.lang.String getFormattedLine(StatisticsSummary summary)
          Return the line as a twiki formatted line.
 
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

TWIKI_COLUMN_SEPARATOR

public static final java.lang.String TWIKI_COLUMN_SEPARATOR
Twiki character for separating columns.

See Also:
Constant Field Values

TWIKI_HEADING_CHARACTER

public static final java.lang.String TWIKI_HEADING_CHARACTER
Twiki character for designating heading or bold.

See Also:
Constant Field Values
Constructor Detail

TwikiFormatter

public TwikiFormatter()
Method Detail

getFormattedHeading

public java.lang.String getFormattedHeading(StatisticsSummary summary)
Return the heading a string that is formatted for Twiki table headings.


getFormattedLine

public java.lang.String getFormattedLine(StatisticsSummary summary)
Return the line as a twiki formatted line.