gridiq
Class ConfigParser

java.lang.Object
  extended by gridiq.ConfigParser

public class ConfigParser
extends java.lang.Object

A parser for the global configuration XML file. The configuration file is parsed on construction of this class, and any properties may subsequently be accessed via the accessor methods of this class.

Author:
colin

Constructor Summary
ConfigParser(java.io.File configFile)
          Create a parser for the given file.
 
Method Summary
 java.lang.String getOctavePath()
          Gets the octave executable path.
 java.lang.String getPsatPath()
          Gets the the PSAT library path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigParser

public ConfigParser(java.io.File configFile)
             throws java.lang.Exception
Create a parser for the given file. The file is read and parsed immediately and configuration properties can be accessed via the access methods of this class.

Parameters:
configFile -
Throws:
java.lang.Exception
Method Detail

getOctavePath

public java.lang.String getOctavePath()
Gets the octave executable path.

Returns:
the octave executable path read from the configuration file.

getPsatPath

public java.lang.String getPsatPath()
Gets the the PSAT library path.

Returns:
the PSAT library path read from the configuration file.