org.mbari.oasis
Class CalibrationHistoryFactory

java.lang.Object
  extended byorg.mbari.oasis.CalibrationHistoryFactory

public class CalibrationHistoryFactory
extends java.lang.Object

Constructs a CalibrationHistory instance from a OASIS mooring configuration file. Use as: CalibrationHistoryFactory chf = CalibrationHistoryFactory(String cfgFile); CalibrationHistory ch = chf.getHistory(String instrument); where: cfgFile is the name of the oasis configuration file to parse instrument is the name of the instrument history to read (ex. specprr, ctd, metsys, gps, etc.)


Constructor Summary
CalibrationHistoryFactory(java.io.File cfgFile)
           
CalibrationHistoryFactory(java.lang.String cfgFile)
           
 
Method Summary
 CalibrationHistory getHistory(java.lang.String instrumentType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalibrationHistoryFactory

public CalibrationHistoryFactory(java.lang.String cfgFile)
Parameters:
cfgFile - Name of the OASIS configuration file to parse
See Also:
CalibrationHistory

CalibrationHistoryFactory

public CalibrationHistoryFactory(java.io.File cfgFile)
Parameters:
cfgFile - Name of the OASIS configuration file to parse
See Also:
CalibrationHistory
Method Detail

getHistory

public CalibrationHistory getHistory(java.lang.String instrumentType)
                              throws java.io.IOException
Parameters:
instrumentType - Name of the Instrument type to get. Examples include: specprr, gps, ctd, hs2, hr2, hr4, metsys
Throws:
java.io.IOException - Thrown if an error reading the calibration file occurs
See Also:
CalibrationHistory