Package org.apache.poi.ss.usermodel
Enum Class CellType
- All Implemented Interfaces:
Serializable
,Comparable<CellType>
,Constable
- Since:
- POI 3.15 beta 3
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUnknown type, used to represent a state prior to initialization or the lack of a concrete type.Blank cell typeBoolean cell typeError cell typeFormula cell typeNumeric cell type (whole numbers, fractional numbers, dates)String (text) cell type -
Method Summary
Modifier and TypeMethodDescriptionstatic CellType
forInt
(int code) Deprecated.POI 3.15 beta 3.int
getCode()
Deprecated.POI 3.15 beta 3static CellType
Returns the enum constant of this class with the specified name.static CellType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
_NONE
Unknown type, used to represent a state prior to initialization or the lack of a concrete type. For internal use only. -
NUMERIC
Numeric cell type (whole numbers, fractional numbers, dates) -
STRING
String (text) cell type -
FORMULA
Formula cell type- See Also:
-
BLANK
Blank cell type -
BOOLEAN
Boolean cell type -
ERROR
Error cell type- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
forInt
Deprecated.POI 3.15 beta 3. Used to transition code fromint
s toCellType
s.- Since:
- POI 3.15 beta 3.
-
getCode
public int getCode()Deprecated.POI 3.15 beta 3- Since:
- POI 3.15 beta 3
-