Package net.sf.basedb.util.excel
Class ExcelValue.NumericValue
- java.lang.Object
-
- net.sf.basedb.util.excel.ExcelValue<Number>
-
- net.sf.basedb.util.excel.ExcelValue.NumericValue
-
- Enclosing class:
- ExcelValue<T>
static class ExcelValue.NumericValue extends ExcelValue<Number>
Represents a cell with a numeric value.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.sf.basedb.util.excel.ExcelValue
ExcelValue.BlankValue<T>, ExcelValue.BooleanValue, ExcelValue.DateValue, ExcelValue.IntValue, ExcelValue.NumericValue, ExcelValue.StringValue
-
-
Field Summary
-
Fields inherited from class net.sf.basedb.util.excel.ExcelValue
format, value
-
-
Constructor Summary
Constructors Constructor Description NumericValue(Number value, String format)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
writeTo(org.apache.poi.ss.usermodel.Cell cell, CellStyleCreator styleCreator)
Write the value to the given cell and apply a format to it with the help of the style creator.-
Methods inherited from class net.sf.basedb.util.excel.ExcelValue
asBoolean, asDate, asInt, asNumber, asNumber, asString, asTimestamp, emptyCell, getFormat, getValue, numberFormat
-
-
-
-
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 classExcelValue<Number>
-
-