[]
Serializable, Comparable<ImportFlags>, Constable将此枚举与 XlsxOpenOptions.setImportFlags(EnumSet) 及类似的打开选项 API 一起使用,可以将导入内容限制为特定的工作表方面,例如单元格数据、公式、样式、表、合并单元格或形状。将多个值组合在 EnumSet 中,可以同时导入多个方面。
XlsxOpenOptions options = new XlsxOpenOptions();
options.setImportFlags(EnumSet.of(ImportFlags.Data, ImportFlags.Formulas));
EnumSet<ImportFlags> importFlags = options.getImportFlags();
Enum.EnumDesc<E extends Enum<E>>static ImportFlagsstatic ImportFlags[]values()name - the name of the enum constant to be returned.IllegalArgumentException - if this enum class has no constant with the specified nameNullPointerException - if the argument is null