Package export

Class PamExporterManager

java.lang.Object
export.PamExporterManager

public class PamExporterManager extends Object
Exports data to external files. Manages the file sizes and creates data buffers for offline processing.
  • Field Details

  • Constructor Details

    • PamExporterManager

      public PamExporterManager()
  • Method Details

    • exportDataUnit

      public boolean exportDataUnit(PamDataUnit<?,?> dataUnit, boolean force)
      Add a data unit to the export list.
      Parameters:
      force - - true to force saving of data e.g. at the end of processing.
    • close

      public void close()
    • canExportDataBlock

      public boolean canExportDataBlock(PamDataBlock dataBlock)
    • getNumExporters

      public int getNumExporters()
      Get the number of data exporters. e.g. MAT files, CSV, Wav etc.
      Returns:
      the number of data exporters
    • getExporter

      public PamDataUnitExporter getExporter(int i)
      Get a specific exporter.
      Parameters:
      i - - the index of the exporter.
      Returns:
      the exporter.
    • setCurrentFile

      public void setCurrentFile(File file)
    • getExportParams

      public ExportParams getExportParams()
    • setExportParams

      public void setExportParams(ExportParams currentParams)
    • getCurretnExporter

      public PamDataUnitExporter getCurretnExporter()
      Get the currently selected exporter.
      Returns:
      the currently selected exporter.
    • perpareExport

      public void perpareExport()