Class EMFFormsSpreadsheetStreamImporterImpl
- java.lang.Object
-
- org.eclipse.emfforms.internal.spreadsheet.stream.EMFFormsSpreadsheetStreamImporterImpl
-
- All Implemented Interfaces:
EMFFormsSpreadsheetStreamImporter
public class EMFFormsSpreadsheetStreamImporterImpl extends java.lang.Object implements EMFFormsSpreadsheetStreamImporter
Class for importing data from the provided InputStream.- Author:
- Eugen Neufeld
-
-
Field Summary
-
Fields inherited from interface org.eclipse.emfforms.spi.spreadsheet.stream.EMFFormsSpreadsheetStreamImporter
INSTANCE
-
-
Constructor Summary
Constructors Constructor Description EMFFormsSpreadsheetStreamImporterImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SpreadsheetImportResultimportSpreadsheet(java.io.InputStream inputStream, org.eclipse.emf.ecore.EClass eClass)Starts the import from an Spreadsheet document.
-
-
-
Method Detail
-
importSpreadsheet
public SpreadsheetImportResult importSpreadsheet(java.io.InputStream inputStream, org.eclipse.emf.ecore.EClass eClass)
Starts the import from an Spreadsheet document.- Specified by:
importSpreadsheetin interfaceEMFFormsSpreadsheetStreamImporter- 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. - See Also:
EMFFormsSpreadsheetStreamImporter.importSpreadsheet(InputStream, org.eclipse.emf.ecore.EClass)
-
-