Documentation of 'org.apache.poi.ss.usermodel.CellValue' Java class
CellValue
org.apache.poi.ss.usermodel

Class CellValue



  • public final class CellValue
    extends java.lang.Object
    Mimics the 'data view' of a cell. This allows formula evaluator to return a CellValue instead of precasting the value to String or Number or boolean type.
    • Constructor Detail

      • CellValue

        public CellValue(double numberValue)
      • CellValue

        public CellValue(java.lang.String stringValue)
    • Method Detail

      • valueOf

        public static CellValue valueOf(boolean booleanValue)
      • getError

        public static CellValue getError(int errorCode)
      • getBooleanValue

        public boolean getBooleanValue()
        Returns:
        Returns the booleanValue.
      • getNumberValue

        public double getNumberValue()
        Returns:
        Returns the numberValue.
      • getStringValue

        public java.lang.String getStringValue()
        Returns:
        Returns the stringValue.
      • getCellType

        public int getCellType()
        Returns:
        Returns the cellType.
      • getErrorValue

        public byte getErrorValue()
        Returns:
        Returns the errorValue.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • formatAsString

        public java.lang.String formatAsString()

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.