public enum CellDataTypeEnum extends Enum<CellDataTypeEnum>
| 枚举常量和说明 |
|---|
BOOLEAN
boolean
|
DATE
date.
|
DIRECT_STRING
This type of data does not need to be read in the 'sharedStrings.xml', it is only used for overuse, and the data
will be stored as a
STRING |
EMPTY
empty
|
ERROR
error
|
NUMBER
number
|
RICH_TEXT_STRING
rich text string.Support only when writing.
|
STRING
string
|
| 限定符和类型 | 方法和说明 |
|---|---|
static CellDataTypeEnum |
buildFromCellType(String cellType)
Build data types
|
static CellDataTypeEnum |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static CellDataTypeEnum[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final CellDataTypeEnum STRING
public static final CellDataTypeEnum DIRECT_STRING
STRINGpublic static final CellDataTypeEnum NUMBER
public static final CellDataTypeEnum BOOLEAN
public static final CellDataTypeEnum EMPTY
public static final CellDataTypeEnum ERROR
public static final CellDataTypeEnum DATE
public static final CellDataTypeEnum RICH_TEXT_STRING
public static CellDataTypeEnum[] values()
for (CellDataTypeEnum c : CellDataTypeEnum.values()) System.out.println(c);
public static CellDataTypeEnum valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static CellDataTypeEnum buildFromCellType(String cellType)
cellType - Copyright © 2018–2022 Alibaba Group. All rights reserved.