Interface EMFFormsSpreadsheetStreamImporter
-
- All Known Implementing Classes:
EMFFormsSpreadsheetStreamImporterImpl
public interface EMFFormsSpreadsheetStreamImporterEntry point for triggering the import from an Spreadsheet document.- Author:
- Eugen Neufeld
-
-
Field Summary
Fields Modifier and Type Field Description static EMFFormsSpreadsheetStreamImporterINSTANCESingleton to get access to the importer.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SpreadsheetImportResultimportSpreadsheet(java.io.InputStream inputStream, org.eclipse.emf.ecore.EClass eClass)Starts the import from an Spreadsheet document.
-
-
-
Field Detail
-
INSTANCE
static final EMFFormsSpreadsheetStreamImporter INSTANCE
Singleton to get access to the importer.
-
-
Method Detail
-
importSpreadsheet
SpreadsheetImportResult importSpreadsheet(java.io.InputStream inputStream, org.eclipse.emf.ecore.EClass eClass)
Starts the import from an Spreadsheet document.- Parameters:
inputStream- The InputStream to read from.eClass- TheEClassof the stored objects- Returns:
- The result containing the collection of all read objects and the collected errors. This may be
nullif no workbook can be created from the stream.
-
-