Package com.grapecity.documents.excel
Enum Class ValueQuoteType
- All Implemented Interfaces:
Serializable,Comparable<ValueQuoteType>,Constable
Gets or sets how to quote values in the exported text file.
-
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
All values that contain special characters such as quotation mark, separator character will be quoted. Same with the behavior of ms excel for exporting text file. -
Always
All values will be quoted always. -
Minimum
Only quote values when needed. Such as, if one value contains quotation mark but the quotation mark is not at the begin of this value, this value will not be quoted. -
Never
All values will not be quoted. The exported text file with this type may not be read back correctly because the needed quotation marks being absent.
-
-
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
-