Class Cell


  • public class Cell
    extends Object
    • Method Detail

      • getColumnIndex

        public int getColumnIndex()
      • getValue

        public Object getValue()
      • getRawValue

        public String getRawValue()
        Returns:
        xml value of the cell as it appears in the sheet format.
      • getFormula

        public String getFormula()
      • asDate

        public LocalDateTime asDate()
        Returns a date-time interpretation of a numerical cell.
        Returns:
        LocalDateTime or null if the cell is empty
        Throws:
        ExcelReaderException - is the cell if not of numerical type or empty
      • asBoolean

        public Boolean asBoolean()
      • getText

        public String getText()
        Returns:
        string representation of the cell's value
        See Also:
        asString()
      • getDataFormatId

        public Integer getDataFormatId()
      • getDataFormatString

        public String getDataFormatString()
      • toString

        public String toString()
        Returns a string representation of this component for debug purposes.
        Overrides:
        toString in class Object