Interface IExporter

All Known Subinterfaces:
ILayerExporter, ITableExporter
All Known Implementing Classes:
CsvExporter, ExcelExporter, HSSFExcelExporter, ImageExporter, PoiExcelExporter

public interface IExporter
Base interface for NatTable exporters to get the OutputStream and the export result.
  • Method Details

    • getOutputStream

      OutputStream getOutputStream(org.eclipse.swt.widgets.Shell shell)
      Get the OutputStream to which the export should be written to.
      shell - The Shell to which the ILayer to export is connected to. Necessary to support user interactions via dialogs on configuring the output location.
      The OutputStream to write the export to.
    • getResult

      Object getResult()
      The result that is produced by this ITableExporter. Usually the file that is created or written by this exporter.