edu.cmu.sphinx.tools.gui.writer
Class ConfigConverter

java.lang.Object
  extended by edu.cmu.sphinx.tools.gui.writer.ConfigConverter

public class ConfigConverter
extends java.lang.Object

This is a helper class to convert from ConfigProperties to String format that's ready to be written to .config.XML file

Author:
Ariani

Method Summary
static ConfigConverter getInstance()
          Get reference to the ConfigConverter
 java.lang.StringBuffer writeOutput(ConfigProperties cp)
          Write the property name and values into a StringBuffer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ConfigConverter getInstance()
Get reference to the ConfigConverter

Returns:
ConfigConverter

writeOutput

public java.lang.StringBuffer writeOutput(ConfigProperties cp)
Write the property name and values into a StringBuffer

Parameters:
cp - ConfigProperties that keeps the property name-values
Returns:
StringBuffer to write the output