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 theOutputStream
and the export result.- Since:
- 1.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OutputStream
getOutputStream(org.eclipse.swt.widgets.Shell shell)
Get theOutputStream
to which the export should be written to.Object
getResult()
-
-
-
Method Detail
-
getOutputStream
OutputStream getOutputStream(org.eclipse.swt.widgets.Shell shell)
Get theOutputStream
to which the export should be written to.- Parameters:
shell
- TheShell
to which theILayer
to export is connected to. Necessary to support user interactions via dialogs on configuring the output location.- Returns:
- The
OutputStream
to write the export to.
-
getResult
Object getResult()
- Returns:
- The result that is produced by this
ITableExporter
. Usually the file that is created or written by this exporter.
-
-