Class ExcelValue.NumericValue

  • Enclosing class:
    ExcelValue<T>

    static class ExcelValue.NumericValue
    extends ExcelValue<Number>
    Represents a cell with a numeric value.
    • Constructor Detail

      • NumericValue

        NumericValue​(Number value,
                     String format)
    • Method Detail

      • writeTo

        public void writeTo​(org.apache.poi.ss.usermodel.Cell cell,
                            CellStyleCreator styleCreator)
        Description copied from class: ExcelValue
        Write the value to the given cell and apply a format to it with the help of the style creator. If no style creator is given, the cell is not formatted.
        Specified by:
        writeTo in class ExcelValue<Number>