|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.tools.gui.writer.XMLConfigWriter
public class XMLConfigWriter
This class is a type of GUIWriter
that write output to .config.xml format
Method Summary | |
---|---|
static XMLConfigWriter |
getInstance()
Singleton constructor of XMLConfigWriter ;
only one instance is created for the whole system |
java.lang.String |
getOutput(ConfigProperties configProp)
This method is inherited from GUIWriter interface. |
boolean |
writeOutput(ConfigProperties configProp,
java.io.File fFile)
This method is inherited from GUIWriter interface. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static XMLConfigWriter getInstance()
XMLConfigWriter
;
only one instance is created for the whole system
XMLConfigWriter
public boolean writeOutput(ConfigProperties configProp, java.io.File fFile) throws GUIWriterException
GUIWriter
interface.
Will write output to .config.xml format
writeOutput
in interface GUIWriter
configProp
- Holds the property name-valuesfFile
- Output file
GUIWriterException
- writing errorpublic java.lang.String getOutput(ConfigProperties configProp) throws GUIWriterException
GUIWriter
interface.
Will return configuration values for output
getOutput
in interface GUIWriter
configProp
- Holds the property name-values
GUIWriterException
- writing error
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |