Class BooleanConverter

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

    public class BooleanConverter
    extends AbstractConverter<java.lang.Boolean>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Boolean readCell​(org.apache.poi.ss.usermodel.Cell cell)
      Read a Cell and convert to [T]
      java.lang.Boolean 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.Boolean 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
    • Field Detail

      • trueStringValue

        public static final java.lang.String[] trueStringValue
      • trueIntegerValue

        public static final int[] trueIntegerValue
    • Constructor Detail

      • BooleanConverter

        public BooleanConverter()
    • Method Detail

      • readCell

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