Class BooleanConverter
java.lang.Object
nl.bstoi.poiparser.core.strategy.converter.AbstractConverter<Boolean>
nl.bstoi.poiparser.core.strategy.converter.BooleanConverter
public class BooleanConverter extends AbstractConverter<Boolean>
-
Field Summary
Fields Modifier and Type Field Description static int[]trueIntegerValuestatic String[]trueStringValue -
Constructor Summary
Constructors Constructor Description BooleanConverter() -
Method Summary
Modifier and Type Method Description BooleanreadCell(org.apache.poi.ss.usermodel.Cell cell)Read a Cell and convert to [T]BooleanreadCell(org.apache.poi.ss.usermodel.Cell cell, String regex)Read a Cell and convert to [T]voidwriteCell(org.apache.poi.ss.usermodel.Cell cell, Boolean value)Write a [T] value to cellMethods inherited from class nl.bstoi.poiparser.core.strategy.converter.AbstractConverter
getCellType, isCellTypeSupported
-
Field Details
-
trueStringValue
-
trueIntegerValue
public static final int[] trueIntegerValue
-
-
Constructor Details
-
BooleanConverter
public BooleanConverter()
-
-
Method Details
-
readCell
Description copied from interface:ConverterRead a Cell and convert to [T]- Parameters:
cell- to read- Returns:
- a converted object [T] from a cell
-
readCell
Description copied from interface:ConverterRead a Cell and convert to [T]- Parameters:
cell- to readregex- regex validation- Returns:
- a converted object [T] from a cell
-
writeCell
Description copied from interface:ConverterWrite a [T] value to cell- Parameters:
cell- to writevalue- value to convert to cell
-