public final class CellValue
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static CellValue |
FALSE |
static CellValue |
TRUE |
| Constructor and Description |
|---|
CellValue(double numberValue) |
CellValue(java.lang.String stringValue) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
formatAsString() |
boolean |
getBooleanValue() |
int |
getCellType()
Deprecated.
POI 3.15. Use
getCellTypeEnum() instead.
In the future, the signature of this method will be changed to return a
CellType. |
CellType |
getCellTypeEnum() |
static CellValue |
getError(int errorCode) |
byte |
getErrorValue() |
double |
getNumberValue() |
java.lang.String |
getStringValue() |
java.lang.String |
toString() |
static CellValue |
valueOf(boolean booleanValue) |
public CellValue(double numberValue)
public CellValue(java.lang.String stringValue)
public static CellValue valueOf(boolean booleanValue)
public static CellValue getError(int errorCode)
public boolean getBooleanValue()
public double getNumberValue()
public java.lang.String getStringValue()
public CellType getCellTypeEnum()
@Deprecated public int getCellType()
getCellTypeEnum() instead.
In the future, the signature of this method will be changed to return a
CellType.public byte getErrorValue()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String formatAsString()