Enum Constant and Description |
---|
_NONE
Unknown type, used to represent a state prior to initialization or the
lack of a concrete type.
|
BLANK
Blank cell type
|
BOOLEAN
Boolean cell type
|
ERROR
Error cell type
|
FORMULA
Formula cell type
|
NUMERIC
Numeric cell type (whole numbers, fractional numbers, dates)
|
STRING
String (text) cell type
|
Modifier and Type | Method and Description |
---|---|
static CellType |
forInt(int code)
Deprecated.
POI 3.15 beta 3. Used to transition code from
int s to CellType s. |
int |
getCode()
Deprecated.
POI 3.15 beta 3
|
static CellType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CellType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Internal(since="POI 3.15 beta 3") public static final CellType _NONE
public static final CellType NUMERIC
public static final CellType STRING
public static final CellType FORMULA
FormulaType
public static final CellType BLANK
public static final CellType BOOLEAN
public static final CellType ERROR
FormulaError
public static CellType[] values()
for (CellType c : CellType.values()) System.out.println(c);
public static CellType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static CellType forInt(int code)
int
s to CellType
s.public int getCode()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.