public static enum DataExportConfiguration.QuotingStrategy extends java.lang.Enum<DataExportConfiguration.QuotingStrategy>
When a data value to be written itself contains the column or line separator, writing the value "as is" will corrupt the overall table structure of the file. A common solution is to put such values in quotes. Column or line separators within quotes can then be interpreted as data.
Enum Constant and Description |
---|
ALWAYS
Always use quotes, even if the value does not contain any of the
separators.
|
AS_NEEDED
Quote only values that contain the column or line separator.
|
NEVER
Never use quotes, even if the value contains the column or line
separator.
|
Modifier and Type | Method and Description |
---|---|
static DataExportConfiguration.QuotingStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataExportConfiguration.QuotingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataExportConfiguration.QuotingStrategy NEVER
public static final DataExportConfiguration.QuotingStrategy AS_NEEDED
public static final DataExportConfiguration.QuotingStrategy ALWAYS
public static DataExportConfiguration.QuotingStrategy[] values()
for (DataExportConfiguration.QuotingStrategy c : DataExportConfiguration.QuotingStrategy.values()) System.out.println(c);
public static DataExportConfiguration.QuotingStrategy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null