Package net.sf.basedb.util.excel
Class ExcelValue.StringValue
- Enclosing class:
- ExcelValue<T>
Represents a cell with a string 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
Constructor Details
-
StringValue
StringValue(String value)
-
-
Method Details
-
writeTo
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<String>
-