Top Fields Constructors Methods
org.apache.poi.ss.usermodel

public final Enum CellType

extends Enum<CellType>
Class Inheritance
Imports
org.apache.poi.ss.formula.FormulaType, org.apache.poi.util.Internal

Since
POI 3.15 beta 3

Field Summary

Modifier and TypeField and Description
public static final CellType
_NONE

Unknown type, used to represent a state prior to initialization or the lack of a concrete type.

public static final CellType
BLANK

Blank cell type

public static final CellType
BOOLEAN

Boolean cell type

private final int
code

Deprecated POI 3.15 beta 3
public static final CellType
ERROR

Error cell type

public static final CellType
FORMULA

Formula cell type

public static final CellType
NUMERIC

Numeric cell type (whole numbers, fractional numbers, dates)

public static final CellType
STRING

String (text) cell type

Constructor Summary

AccessConstructor and Description
private
CellType(int code)

Method Summary

Modifier and TypeMethod and Description
public static CellType
forInt(int code)
Deprecated POI 3.15 beta 3. Used to transition code from ints to CellTypes.

public int
getCode()
Deprecated POI 3.15 beta 3

public static CellType
public static CellType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

_NONEback to summary
public static final CellType _NONE

Unknown type, used to represent a state prior to initialization or the lack of a concrete type. For internal use only.

Annotations
@Internal
since:POI 3.15 beta 3
BLANKback to summary
public static final CellType BLANK

Blank cell type

BOOLEANback to summary
public static final CellType BOOLEAN

Boolean cell type

codeback to summary
private final int code

Deprecated

POI 3.15 beta 3

Annotations
@Deprecated
Since
POI 3.15 beta 3
ERRORback to summary
public static final CellType ERROR

Error cell type

See Also
FormulaError
FORMULAback to summary
public static final CellType FORMULA

Formula cell type

See Also
FormulaType
NUMERICback to summary
public static final CellType NUMERIC

Numeric cell type (whole numbers, fractional numbers, dates)

STRINGback to summary
public static final CellType STRING

String (text) cell type

Constructor Detail

CellTypeback to summary
private CellType(int code)

Method Detail

forIntback to summary
public static CellType forInt(int code)

Deprecated

POI 3.15 beta 3. Used to transition code from ints to CellTypes.

Annotations
@Deprecated
Since
POI 3.15 beta 3.
getCodeback to summary
public int getCode()

Deprecated

POI 3.15 beta 3

Annotations
@Deprecated
Since
POI 3.15 beta 3
valueOfback to summary
public static CellType valueOf(String name)
valuesback to summary
public static CellType[] values()