edu.stanford.rsl.konrad.io
Class LUTConfigFile

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

public class LUTConfigFile
extends ConfigFile

See Also:
Serialized Form

Constructor Summary
LUTConfigFile()
           
 
Method Summary
 double findLutPoint(double voltage, double dCu, double calVoltage)
           
 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
 

Constructor Detail

LUTConfigFile

public LUTConfigFile()
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

findLutPoint

public double findLutPoint(double voltage,
                           double dCu,
                           double calVoltage)

getSuccess

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

Returns:
reading success?