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:
Formatter
  • Method Summary

    Modifier and Type Method Description
    ExcelValue<E> toExcelValue​(T value)
    Convert and format the given value to an Excel value.
  • Method Details

    • toExcelValue

      ExcelValue<E> toExcelValue​(T value)
      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.