Class BigDecimalConverter

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

public class BigDecimalConverter extends AbstractConverter<BigDecimal>
  • Constructor Details

    • BigDecimalConverter

      public BigDecimalConverter()
  • Method Details

    • readCell

      public BigDecimal 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 BigDecimal 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, BigDecimal value)
      Description copied from interface: Converter
      Write a [T] value to cell
      Parameters:
      cell - to write
      value - value to convert to cell