Class ExcelWorkbook

java.lang.Object
org.qubership.atp.mia.model.impl.ExcelWorkbook

public class ExcelWorkbook extends Object
  • Constructor Details

    • ExcelWorkbook

      public ExcelWorkbook(@Nonnull String filePath) throws IOException
      Opens Excel workbook for changes.
      Parameters:
      filePath - file path of workbook
      Throws:
      IOException - in case problem open workbook
  • Method Details

    • getFilePath

      @Nonnull public String getFilePath()
    • getFileInputStream

      @Nonnull public FileInputStream getFileInputStream()
    • getWorkbook

      @Nonnull public org.apache.poi.xssf.usermodel.XSSFWorkbook getWorkbook()
    • getStyles

      @Nonnull public HashMap<org.apache.poi.ss.usermodel.IndexedColors,org.apache.poi.xssf.usermodel.XSSFCellStyle> getStyles()
      Gets styles value.
      Returns:
      styles
    • addStyle

      @Nonnull public void addStyle(org.apache.poi.ss.usermodel.IndexedColors color, org.apache.poi.xssf.usermodel.XSSFCellStyle cellStyle)
      Add style to map.