Interface ITableExporter

All Superinterfaces:
All Known Implementing Classes:

public interface ITableExporter extends IExporter
Interface for an exporter that can be used to export a NatTable. This type of exporter gives the implementor full control on how the export should be done. In comparison the ILayerExporter is used to export a NatTable data driven by iterating over the content.
  • Method Details

    • exportTable

      void exportTable(org.eclipse.swt.widgets.Shell shell, org.eclipse.swt.widgets.ProgressBar progressBar, OutputStream outputStream, ILayer layer, IConfigRegistry configRegistry) throws IOException
      Export a given ILayer to the given OutputStream.
      shell - The current active Shell.
      progressBar - The ProgressBar that can be used to report the export progress to the user.
      outputStream - The OutputStream to write the export to. Typically previously retrieved by calling IExporter.getOutputStream(Shell).
      layer - The ILayer to export, typically a NatTable instance.
      configRegistry - The IConfigRegistry used to retrieve configuration information on exporting.
      IOException - If an error occurs while exporting.