Interface IfDataTypeStringExcelTableReader

All Superinterfaces:
IfDataTypeStringExcelTable, IfExcelTable<String>, IfExcelTableReader<String>
All Known Implementing Classes:
StringExcelTableReader, StringFreeExcelTableReader, StringOneLineHeaderExcelTableReader, StringOneLineHeaderExcelTableToBeanReader

public interface IfDataTypeStringExcelTableReader extends IfDataTypeStringExcelTable, IfExcelTableReader<String>
Provides the excel table reader interface with object type obtained from the excel data is String.
  • Method Details

    • getCellData

      default String getCellData(org.apache.poi.ss.usermodel.Cell cell, int columnNumber) throws jp.ecuacion.util.poi.excel.exception.ExcelAppException
      Description copied from interface: IfExcelTableReader
      Returns the obtained value from the cell.

      If you want to get String value from the cell, it returns the String value.

      Specified by:
      getCellData in interface IfExcelTableReader<String>
      Parameters:
      cell - cell, may be null.
      columnNumber - the column number data is obtained from, starting with 1 and column A is equal to columnNumber 1. When the far left column of a table is 2 and you want to speciries the far left column, the columnNumber is 2.
      Returns:
      the obtained value from the cell
      Throws:
      jp.ecuacion.util.poi.excel.exception.ExcelAppException - ExcelAppException
    • isCellDataEmpty

      default boolean isCellDataEmpty(@Nullable String cellData)
      Description copied from interface: IfExcelTableReader
      Returns whether the value of the cell is empty.
      Specified by:
      isCellDataEmpty in interface IfExcelTableReader<String>
      Parameters:
      cellData - cellData
      Returns:
      whether the valule of the cell is empty.
    • getNoDataString

      NoDataString getNoDataString()
      Gets NoDataString.
      Returns:
      NoDataString
    • getDateTimeFormat

      DateTimeFormatter getDateTimeFormat(int columnNumber)
      Returns the date time format considering columnDateTimeFormatMap and defaultDateTimeFormat.
      Parameters:
      columnNumber - the column number data is obtained from, starting with 1 and column A is equal to columnNumber 1. When the far left column of a table is 2 and you want to speciries the far left column, the columnNumber is 2.
      Returns:
      date format