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 Link icon

  • Constructor Details Link icon

    • PamExporterManager Link icon

      public PamExporterManager()
  • Method Details Link icon

    • exportDataUnit Link icon

      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 Link icon

      public void close()
    • canExportDataBlock Link icon

      public boolean canExportDataBlock(PamDataBlock dataBlock)
    • getNumExporters Link icon

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

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

      public void setCurrentFile(File file)
    • getExportParams Link icon

      public ExportParams getExportParams()
    • setExportParams Link icon

      public void setExportParams(ExportParams currentParams)
    • getCurretnExporter Link icon

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

      public void perpareExport()