edu.stanford.rsl.konrad.io
Class BetaConfigFile

java.lang.Object
  extended by edu.stanford.rsl.konrad.io.ConfigFile
      extended by edu.stanford.rsl.konrad.io.BetaConfigFile
All Implemented Interfaces:
ConfigFileParser, java.io.Serializable

public class BetaConfigFile
extends ConfigFile

Simple class to read a "beta" config file.

Author:
akmaier
See Also:
Serialized Form

Field Summary
 double beta
           
 double calVoltage
           
 double dCalCopper
           
 
Constructor Summary
BetaConfigFile()
           
 
Method Summary
 boolean getSuccess()
          is true if the reading was successful.
 void readConfigFile(java.lang.String filename)
          Reads the configuration from the file denoted by filename
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

beta

public double beta

calVoltage

public double calVoltage

dCalCopper

public double dCalCopper
Constructor Detail

BetaConfigFile

public BetaConfigFile()
Method Detail

readConfigFile

public void readConfigFile(java.lang.String filename)
                    throws java.io.IOException
Description copied from interface: ConfigFileParser
Reads the configuration from the file denoted by filename

Parameters:
filename - the file name
Throws:
java.io.IOException - may happen during reading

getSuccess

public boolean getSuccess()
Description copied from interface: ConfigFileParser
is true if the reading was successful.

Returns:
reading success?