feynman.framework.datastore
Class FileDataStore

java.lang.Object
  |
  +--feynman.framework.datastore.FileDataStore
All Implemented Interfaces:
DataStore

public class FileDataStore
extends java.lang.Object
implements DataStore

File based implementation of the DataStore interface. This class makes use of the toString() method defined in the PhysicalMeasurement interface.

Version:
$Revision: 1.1.1.1 $ $Date: 2002/11/12 02:25:41 $
Author:
Wes Bailey

Method Summary
 void close()
          Method to close the PhysicalMeasurement data file for writing.
 void open(java.lang.String source)
          Method to open a file for writing PhysicalMeasurement data to.
 void save(PhysicalMeasurement pm)
          Method to write the PhysicalMeasurement data to the file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

open

public void open(java.lang.String source)
          throws ConnectionException
Method to open a file for writing PhysicalMeasurement data to.
Specified by:
open in interface DataStore

save

public void save(PhysicalMeasurement pm)
Method to write the PhysicalMeasurement data to the file.
Specified by:
save in interface DataStore

close

public void close()
           throws ConnectionException
Method to close the PhysicalMeasurement data file for writing.
Specified by:
close in interface DataStore