Package com.grapecity.documents.excel
Enum Class ValueQuoteType
- All Implemented Interfaces:
Serializable,Comparable<ValueQuoteType>,Constable
获取或设置导出文本文件中值的引用方式。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ValueQuoteTypeReturns the enum constant of this class with the specified name.static ValueQuoteType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Normal
所有包含特殊字符(如引号、分隔符)的值都将被引用。这与Microsoft Excel导出文本文件时的行为相同。 -
Always
所有值都将始终被引用。 -
Minimum
仅在需要时引用值。例如,如果一个值包含引号但引号不在该值的开始位置,则不会引用该值。 -
Never
所有值都不会被引号括起来。由于缺少必要的引号,这种类型的导出文本文件可能无法正确读取。
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-