Interface EMFFormsSpreadsheetStreamImporter
-
- All Known Implementing Classes:
EMFFormsSpreadsheetStreamImporterImpl
public interface EMFFormsSpreadsheetStreamImporter
Entry point for triggering the import from an Spreadsheet document.- Author:
- Eugen Neufeld
-
-
Field Summary
Fields Modifier and Type Field Description static EMFFormsSpreadsheetStreamImporter
INSTANCE
Singleton to get access to the importer.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SpreadsheetImportResult
importSpreadsheet(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
- TheEClass
of the stored objects- Returns:
- The result containing the collection of all read objects and the collected errors. This may be
null
if no workbook can be created from the stream.
-
-