Package net.sf.basedb.util.excel
Interface ExcelFormatter<T,E>
- All Known Implementing Classes:
AdaptiveNumberFormatter
,AutoFormatter
,BooleanFormatter
,DateFormatter
,IntegerFormatter
,MultiFormatter
,NiceFormatter
,NumberFormatFormatter
,NumberFormatter
,StringFormatter
,ToStringFormatter
,WellCoordinateFormatter
,WrappedFormatter
public interface ExcelFormatter<T,E>
Interface that is intended to be implemented by formatters
that also want to support generating output for excel.
Note that implementations may convert the input value T to
a different output value type E.
- Since:
- 3.15
- Author:
- nicklas
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiontoExcelValue
(T value) Convert and format the given value to an Excel value.
-
Method Details
-
toExcelValue
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.
-