ch.elca.el4j.services.monitoring.jmx.display
Class HtmlTabulator

java.lang.Object
  extended by ch.elca.el4j.services.monitoring.jmx.display.HtmlTabulator

public class HtmlTabulator
extends Object

Creates HTML tables for displaying data.

Author:
David Bernhard (DBD)
File-location:
HtmlTabulator
Last check-in date:
2009-08-04 14:35:53 +0200 (Di, 04. Aug 2009) by swismer for revision 3875

Constructor Summary
HtmlTabulator(String... titles)
           
 
Method Summary
 void addRow(String... args)
           
 String tabulate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlTabulator

public HtmlTabulator(String... titles)
Parameters:
titles - The titles of the columns.
Method Detail

addRow

public void addRow(String... args)
            throws RuntimeException
Parameters:
args - A row of data.
Throws:
RuntimeException - If the number of arguments does not match the number of columns.

tabulate

public String tabulate()
Returns:
The table.


Copyright © 2005-2011 ELCA. All Rights Reserved.