Class NumericCellValue

  • All Implemented Interfaces:
    org.springframework.core.Ordered

    public class NumericCellValue
    extends java.lang.Object
    Allows to retrieve cell value of numeric or date types
    • Field Summary

      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Constructor Detail

      • NumericCellValue

        public NumericCellValue()
    • 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:
        getOrder in interface org.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()
      • setExcelDateUtils

        public void setExcelDateUtils​(ExcelDateUtils excelDateUtils)