Package org.aoju.bus.office.excel.sax
Enum Class CellDataType
- All Implemented Interfaces:
Serializable,Comparable<CellDataType>,Constable
单元格数据类型枚举
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetName()获取对应类型的属性值static CellDataType类型字符串转为枚举static CellDataTypeReturns the enum constant of this class with the specified name.static CellDataType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOOL
Boolean类型 -
ERROR
类型错误 -
FORMULA
计算结果类型 -
INLINESTRING
富文本类型 -
SSTINDEX
共享字符串索引类型 -
NUMBER
数字类型 -
DATE
日期类型 -
NULL
空类型
-
-
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
-
of
类型字符串转为枚举- Parameters:
name- 类型字符串- Returns:
- 类型枚举
-
getName
获取对应类型的属性值- Returns:
- 属性值
-