edu.cmu.sphinx.tools.gui.reader
Class XMLConfigReader

java.lang.Object
  extended by edu.cmu.sphinx.tools.gui.reader.XMLConfigReader
All Implemented Interfaces:
GUIReader

public class XMLConfigReader
extends java.lang.Object
implements GUIReader

This class implements the process of reading from XML file .config.xml

Author:
Ariani
See Also:
GUIReader

Method Summary
static XMLConfigReader getInstance()
          Singleton constructor
 ConfigProperties read(java.io.File fFile)
          The method called for reading from xml file
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static XMLConfigReader getInstance()
Singleton constructor

Returns:
the xml reader

read

public ConfigProperties read(java.io.File fFile)
                      throws GUIReaderException
The method called for reading from xml file

Specified by:
read in interface GUIReader
Parameters:
fFile - the File to be read
Returns:
ConfigProperties object that holds the property type-value
Throws:
GUIReaderExceptoin - if there are any errors while finding and reading from file.
GUIReaderException - when any error occurs during operation