Class LongConverter

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

public class LongConverter
extends AbstractConverter<Long>
  • Constructor Details

    • LongConverter

      public LongConverter()
  • Method Details

    • readCell

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