Class EMFExcelFile

java.lang.Object
com.amalgamasimulation.emf.datastructure.IDataSource
com.amalgamasimulation.emf.datastructure.EMFExcelFile
Direct Known Subclasses:
EMFPartOneClassFile

public class EMFExcelFile extends IDataSource
  • Field Details

    • MAX_ROWS_PER_WORKSHEET

      public static final int MAX_ROWS_PER_WORKSHEET
      See Also:
  • Constructor Details

    • EMFExcelFile

      public EMFExcelFile(com.amalgamasimulation.emf.excel.EMFTransform<?> transform, com.amalgamasimulation.emf.excel.EObjectsContext eObjectsContext)
  • Method Details

    • write

      public <R extends DataStorage<?>> void write(R dataStorage)
      Specified by:
      write in class IDataSource
    • checkCanWrite

      public void checkCanWrite()
      Checks that each sheet can be saved to an Excel file. Throws an exception if any of the sheets cannot be saved.