Class NumericCellValue
- java.lang.Object
-
- com.hybris.backoffice.excel.template.cell.NumericCellValue
-
- All Implemented Interfaces:
org.springframework.core.Ordered
public class NumericCellValue extends java.lang.ObjectAllows to retrieve cell value of numeric or date types
-
-
Constructor Summary
Constructors Constructor Description NumericCellValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanHandle(org.apache.poi.ss.usermodel.CellType cellType)ExcelDateUtilsgetExcelDateUtils()protected java.util.DategetJavaDate(org.apache.poi.ss.usermodel.Cell cell)protected java.lang.StringgetNumericCellValue(org.apache.poi.ss.usermodel.Cell cell)intgetOrder()protected java.util.TimeZonegetTimeZone()java.util.Optional<java.lang.String>getValue(org.apache.poi.ss.usermodel.Cell cell)protected booleanisCellDateFormatted(org.apache.poi.ss.usermodel.Cell cell)voidsetExcelDateUtils(ExcelDateUtils excelDateUtils)
-
-
-
Method Detail
-
getValue
public java.util.Optional<java.lang.String> getValue(@Nullable org.apache.poi.ss.usermodel.Cell cell)
-
canHandle
public boolean canHandle(org.apache.poi.ss.usermodel.CellType cellType)
-
getOrder
public int getOrder()
- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
getNumericCellValue
protected java.lang.String getNumericCellValue(org.apache.poi.ss.usermodel.Cell cell)
-
isCellDateFormatted
protected boolean isCellDateFormatted(org.apache.poi.ss.usermodel.Cell cell)
-
getJavaDate
protected java.util.Date getJavaDate(org.apache.poi.ss.usermodel.Cell cell)
-
getTimeZone
protected java.util.TimeZone getTimeZone()
-
getExcelDateUtils
public ExcelDateUtils getExcelDateUtils()
-
setExcelDateUtils
public void setExcelDateUtils(ExcelDateUtils excelDateUtils)
-
-