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() |
CellType |
getCellType()
Return the cell type.
|
CellType |
getCellTypeEnum()
Deprecated.
use
getCellType instead |
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()
@Deprecated @Removal(version="4.2") public CellType getCellTypeEnum()
getCellType insteadpublic CellType getCellType()
public byte getErrorValue()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String formatAsString()
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.