Class StringConverter

  • All Implemented Interfaces:
    Converter<java.lang.String>

    public class StringConverter
    extends AbstractConverter<java.lang.String>
    • Constructor Summary

      Constructors 
      Constructor Description
      StringConverter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String readCell​(org.apache.poi.ss.usermodel.Cell cell)
      Read a Cell and convert to [T]
      java.lang.String readCell​(org.apache.poi.ss.usermodel.Cell cell, java.lang.String regex)
      Read a Cell and convert to [T]
      void writeCell​(org.apache.poi.ss.usermodel.Cell cell, java.lang.String value)
      Write a [T] value to cell
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StringConverter

        public StringConverter()
    • Method Detail

      • readCell

        public java.lang.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 java.lang.String readCell​(org.apache.poi.ss.usermodel.Cell cell,
                                         java.lang.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,
                              java.lang.String value)
        Description copied from interface: Converter
        Write a [T] value to cell
        Parameters:
        cell - to write
        value - value to convert to cell