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
  • Field Details

  • Constructor Details

    • WrappedFormatter

      public WrappedFormatter(Formatter<T> parent)
  • Method Details

    • 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 interface ExcelFormatter<T,String>