Package net.sf.basedb.util.excel
Class WrappedFormatter<T>
- java.lang.Object
-
- net.sf.basedb.util.excel.WrappedFormatter<T>
-
- All Implemented Interfaces:
ExcelFormatter<T,String>
public class WrappedFormatter<T> extends Object implements ExcelFormatter<T,String>
Excel formatter implementation that uses the value from any parent formatter and creates a string cell value.- Since:
- 3.15
- Author:
- nicklas
-
-
Constructor Summary
Constructors Constructor Description WrappedFormatter(Formatter<T> parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExcelValue<String>
toExcelValue(T value)
Convert and format the given value to an Excel value.
-
-
-
Method Detail
-
toExcelValue
public ExcelValue<String> toExcelValue(T value)
Description copied from interface:ExcelFormatter
Convert and format the given value to an Excel value. If the value is null the implementation may return null to create an empty cell or it may return another non-null value.- Specified by:
toExcelValue
in interfaceExcelFormatter<T,String>
-
-