Class ExcelResourceFactory

  • All Implemented Interfaces:
    org.eclipse.emf.ecore.resource.Resource.Factory

    public class ExcelResourceFactory
    extends org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl
    Creates ExcelResource
    Author:
    Pavel
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  ExcelResourceFactory.UpdateAdapter  
      • Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.resource.Resource.Factory

        org.eclipse.emf.ecore.resource.Resource.Factory.Descriptor, org.eclipse.emf.ecore.resource.Resource.Factory.Registry
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.emf.ecore.resource.Resource createResource​(org.eclipse.emf.common.util.URI uri)  
      protected Object getCellValue​(org.apache.poi.ss.usermodel.Cell cell, org.apache.poi.ss.usermodel.FormulaEvaluator formulaEvaluator)  
      protected void loadRow​(org.eclipse.emf.ecore.resource.Resource resource, org.apache.poi.ss.usermodel.Row row, org.apache.poi.ss.usermodel.FormulaEvaluator formulaEvaluator)  
      protected void loadSheet​(org.eclipse.emf.ecore.resource.Resource resource, org.apache.poi.ss.usermodel.Sheet sheet, org.apache.poi.ss.usermodel.FormulaEvaluator formulaEvaluator)  
      protected void loadWorkbook​(org.eclipse.emf.ecore.resource.Resource resource, org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, org.apache.poi.ss.usermodel.FormulaEvaluator formulaEvaluator)  
    • Method Detail

      • createResource

        public org.eclipse.emf.ecore.resource.Resource createResource​(org.eclipse.emf.common.util.URI uri)
        Specified by:
        createResource in interface org.eclipse.emf.ecore.resource.Resource.Factory
        Overrides:
        createResource in class org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl
      • loadWorkbook

        protected void loadWorkbook​(org.eclipse.emf.ecore.resource.Resource resource,
                                    org.apache.poi.xssf.usermodel.XSSFWorkbook workbook,
                                    org.apache.poi.ss.usermodel.FormulaEvaluator formulaEvaluator)
      • loadSheet

        protected void loadSheet​(org.eclipse.emf.ecore.resource.Resource resource,
                                 org.apache.poi.ss.usermodel.Sheet sheet,
                                 org.apache.poi.ss.usermodel.FormulaEvaluator formulaEvaluator)
      • loadRow

        protected void loadRow​(org.eclipse.emf.ecore.resource.Resource resource,
                               org.apache.poi.ss.usermodel.Row row,
                               org.apache.poi.ss.usermodel.FormulaEvaluator formulaEvaluator)
      • getCellValue

        protected Object getCellValue​(org.apache.poi.ss.usermodel.Cell cell,
                                      org.apache.poi.ss.usermodel.FormulaEvaluator formulaEvaluator)