Class DummyDataWriter

java.lang.Object
gda.data.scan.datawriter.DataWriterBase
gda.data.scan.datawriter.DummyDataWriter
All Implemented Interfaces:
DataWriter, IDataWriterExtender

public class DummyDataWriter extends DataWriterBase
  • Constructor Details

    • DummyDataWriter

      public DummyDataWriter()
  • Method Details

    • getCurrentFileName

      public String getCurrentFileName()
      Description copied from interface: DataWriter
      Get the absFilePath for this scan
      Returns:
      String
    • getCurrentScanIdentifier

      public int getCurrentScanIdentifier()
      Description copied from interface: DataWriter
      Get the current scan identifier (ie scan number)
      Returns:
      String
    • setHeader

      public void setHeader(String header)
      Description copied from interface: DataWriter
      Sets the header of the datahandler
      Parameters:
      header - String
    • addData

      public void addData(IScanDataPoint newData) throws Exception
      Description copied from interface: DataWriter
      for incremental addition of data
      Specified by:
      addData in interface DataWriter
      Overrides:
      addData in class DataWriterBase
      Parameters:
      newData - Object
      Throws:
      Exception
    • configureScanNumber

      public void configureScanNumber(int scanNumber)
      Description copied from class: DataWriterBase
      If filenumber not set then read from scandatapoint or from num tracker
      Specified by:
      configureScanNumber in interface DataWriter
      Overrides:
      configureScanNumber in class DataWriterBase
      Parameters:
      scanNumber -