Class IntegerConverter

java.lang.Object
nl.bstoi.poiparser.core.strategy.converter.AbstractConverter<Integer>
nl.bstoi.poiparser.core.strategy.converter.IntegerConverter
All Implemented Interfaces:
Converter<Integer>

public class IntegerConverter extends AbstractConverter<Integer>
  • Constructor Details

    • IntegerConverter

      public IntegerConverter()
  • Method Details

    • readCell

      public Integer readCell(org.apache.poi.ss.usermodel.Cell cell)
      Description copied from interface: Converter
      Read a Cell and convert to [T]
      Parameters:
      cell - to read
      Returns:
      a converted object [T] from a cell
    • readCell

      public Integer readCell(org.apache.poi.ss.usermodel.Cell cell, String regex)
      Description copied from interface: Converter
      Read a Cell and convert to [T]
      Parameters:
      cell - to read
      regex - regex validation
      Returns:
      a converted object [T] from a cell
    • writeCell

      public void writeCell(org.apache.poi.ss.usermodel.Cell cell, Integer value)
      Description copied from interface: Converter
      Write a [T] value to cell
      Parameters:
      cell - to write
      value - value to convert to cell