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.- Since:
- 1.5
-
Method Summary
Modifier and TypeMethodDescriptiongetOutputStream(org.eclipse.swt.widgets.Shell shell) Get theOutputStreamto which the export should be written to.
-
Method Details
-
getOutputStream
Get theOutputStreamto which the export should be written to.- Parameters:
shell- TheShellto which theILayerto export is connected to. Necessary to support user interactions via dialogs on configuring the output location.- Returns:
- The
OutputStreamto 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.
-