Interface ITableExporter
-
- All Superinterfaces:
IExporter
- All Known Implementing Classes:
ImageExporter
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 theILayerExporter
is used to export a NatTable data driven by iterating over the content.- Since:
- 1.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
exportTable(org.eclipse.swt.widgets.Shell shell, org.eclipse.swt.widgets.ProgressBar progressBar, OutputStream outputStream, ILayer layer, IConfigRegistry configRegistry)
Export a givenILayer
to the givenOutputStream
.-
Methods inherited from interface org.eclipse.nebula.widgets.nattable.export.IExporter
getOutputStream, getResult
-
-
-
-
Method Detail
-
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 givenILayer
to the givenOutputStream
.- Parameters:
shell
- The current activeShell
.progressBar
- TheProgressBar
that can be used to report the export progress to the user.outputStream
- TheOutputStream
to write the export to. Typically previously retrieved by callingIExporter.getOutputStream(Shell)
.layer
- TheILayer
to export, typically a NatTable instance.configRegistry
- TheIConfigRegistry
used to retrieve configuration information on exporting.- Throws:
IOException
- If an error occurs while exporting.
-
-