public enum ExcelInitializerMeta extends Enum<ExcelInitializerMeta>
| 枚举常量和说明 |
|---|
INSTANT |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cache(ExcelInitializer initializer)
Set an initializer
|
void |
initListener(Class<?> excelEntity,
ExecMode execMode,
List<ExcelListener> excelListeners)
The listener in the initializer is added to the context listener cache.
|
ExcelType |
initType(Class<?> excelEntity,
ExecMode execMode)
Get the global Excel file version
|
static ExcelInitializerMeta |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ExcelInitializerMeta[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ExcelInitializerMeta INSTANT
public static ExcelInitializerMeta[] values()
for (ExcelInitializerMeta c : ExcelInitializerMeta.values()) System.out.println(c);
public static ExcelInitializerMeta valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public void cache(ExcelInitializer initializer)
initializer - Excel initializerpublic void initListener(Class<?> excelEntity, ExecMode execMode, List<ExcelListener> excelListeners)
excelEntity - Current Excel entityexecMode - Current execution modeexcelListeners - excel listenerspublic ExcelType initType(Class<?> excelEntity, ExecMode execMode)
excelEntity - Current Excel entityexecMode - Current execution modeExcel.type()Copyright © 2022. All rights reserved.