Class StringConverter

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

public class StringConverter
extends AbstractConverter<String>
  • Constructor Details

    • StringConverter

      public StringConverter()
  • Method Details

    • readCell

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