public enum ExcelFieldType extends Enum<ExcelFieldType>
Enum Constant and Description |
---|
AUTO
自动推断
|
BOOLEAN
布尔值
|
DATE
时间
|
DATE_FORMAT
时间 格式化
|
DECIMAL_FORMAT
小数 格式化
|
FORMULA
公式
|
NUMBER
数字
|
TEXT
文本
|
Modifier and Type | Method and Description |
---|---|
static ExcelFieldType |
of(Class<?> clazz)
设置ExcelFieldType
|
static ExcelFieldType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExcelFieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExcelFieldType AUTO
public static final ExcelFieldType TEXT
public static final ExcelFieldType NUMBER
public static final ExcelFieldType FORMULA
public static final ExcelFieldType DATE
public static final ExcelFieldType DATE_FORMAT
TEXT
public static final ExcelFieldType DECIMAL_FORMAT
TEXT
public static final ExcelFieldType BOOLEAN
public static ExcelFieldType[] values()
for (ExcelFieldType c : ExcelFieldType.values()) System.out.println(c);
public static ExcelFieldType 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 ExcelFieldType of(Class<?> clazz)
clazz
- clazzCopyright © 2024. All rights reserved.