edu.cmu.sphinx.util.props.tools
Class HTMLDumper

java.lang.Object
  extended by edu.cmu.sphinx.util.props.tools.HTMLDumper

public class HTMLDumper
extends java.lang.Object

Dumps a given configuration manager to HTML.

Author:
Holger Brandl

Constructor Summary
HTMLDumper()
           
 
Method Summary
static void dumpComponentAsHTML(java.io.PrintStream out, java.lang.String name, PropertySheet properties)
          Dumps the given component as HTML to the given stream
static void dumpFooter(java.io.PrintStream out)
          Dumps the footer for HTML output
static void dumpHeader(java.io.PrintStream out)
          Dumps the header for HTML output
static void showConfigAsHTML(ConfigurationManager ConfigurationManager, java.lang.String path)
          Dumps the config as a set of HTML tables
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLDumper

public HTMLDumper()
Method Detail

showConfigAsHTML

public static void showConfigAsHTML(ConfigurationManager ConfigurationManager,
                                    java.lang.String path)
                             throws java.io.IOException
Dumps the config as a set of HTML tables

Parameters:
path - where to output the HTML
Throws:
java.io.IOException - if an error occurs

dumpFooter

public static void dumpFooter(java.io.PrintStream out)
Dumps the footer for HTML output

Parameters:
out - the output stream

dumpHeader

public static void dumpHeader(java.io.PrintStream out)
Dumps the header for HTML output

Parameters:
out - the output stream

dumpComponentAsHTML

public static void dumpComponentAsHTML(java.io.PrintStream out,
                                       java.lang.String name,
                                       PropertySheet properties)
Dumps the given component as HTML to the given stream

Parameters:
out - where to dump the HTML
name - the name of the component to dump