| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.ss.usermodel.CellValue
public final class CellValue
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.
Field Summary | |
---|---|
static CellValue | FALSE |
static CellValue | TRUE |
Constructor Summary | |
---|---|
CellValue(double numberValue) | |
CellValue(java.lang.String stringValue) |
Method Summary | |
---|---|
java.lang.String | formatAsString() |
boolean | getBooleanValue() |
int | getCellType() |
static CellValue | getError(int errorCode) |
byte | getErrorValue() |
double | getNumberValue() |
java.lang.String | getStringValue() |
java.lang.String | toString() |
static CellValue | valueOf(boolean booleanValue) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final CellValue TRUE
public static final CellValue FALSE
Constructor Detail |
---|
public CellValue(double numberValue)
public CellValue(java.lang.String stringValue)
Method Detail |
---|
public static CellValue valueOf(boolean booleanValue)
public static CellValue getError(int errorCode)
public boolean getBooleanValue()
public double getNumberValue()
public java.lang.String getStringValue()
public int getCellType()
public byte getErrorValue()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String formatAsString()
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |