Interface Converter<T>
- Type Parameters:
T- Type to convert into or convert from
- All Known Implementing Classes:
AbstractConverter,BigDecimalConverter,BooleanConverter,CalendarConverter,DateConverter,IntegerConverter,LongConverter,ShortConverter,StringConverter
public interface Converter<T>
Convert a Cell from/to a field.
- Author:
- Hylke Stapersma
-
Method Summary
Modifier and Type Method Description TreadCell(org.apache.poi.ss.usermodel.Cell cell)Read a Cell and convert to [T]TreadCell(org.apache.poi.ss.usermodel.Cell cell, String regex)Read a Cell and convert to [T]voidwriteCell(org.apache.poi.ss.usermodel.Cell cell, T value)Write a [T] value to cell
-
Method Details
-
readCell
Read a Cell and convert to [T]- Parameters:
cell- to readregex- regex validation- Returns:
- a converted object [T] from a cell
-
readCell
Read a Cell and convert to [T]- Parameters:
cell- to read- Returns:
- a converted object [T] from a cell
-
writeCell
Write a [T] value to cell- Parameters:
cell- to writevalue- value to convert to cell
-