[]
Serializable, Comparable<PropertyType>, Constable将此枚举与 IDocumentProperty.getType() 一起使用,可以确定内置或自定义文档属性值的存储方式。
IDocumentProperty property = workbook.getCustomDocumentProperties().add("Category", "Report");
PropertyType type = property.getType();
if (type == PropertyType.String) {
property.setValue("Summary");
}
Enum.EnumDesc<E extends Enum<E>>static PropertyTypeforValue(int value) intgetValue()static PropertyTypestatic PropertyType[]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 nullvalue - The integer value of the property type.