public enum CellDataTypeEnum extends Enum<CellDataTypeEnum>
| Enum Constant and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
static CellDataTypeEnum |
buildFromCellType(String cellType)
Build data types
|
static CellDataTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CellDataTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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 - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static CellDataTypeEnum buildFromCellType(String cellType)
cellType - Copyright © 2018–2023 Alibaba Group. All rights reserved.