public enum QuoteStrategy extends java.lang.Enum<QuoteStrategy>
| Enum Constant and Description |
|---|
ALWAYS
Enclose any text field with quotes regardless of its content (even empty and
null fields). |
EMPTY
In addition to fields that require quote enclosing also delimit empty text fields to
differentiate between empty and
null fields. |
REQUIRED
Enclose fields only with quotes if required.
|
| Modifier and Type | Method and Description |
|---|---|
static QuoteStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QuoteStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuoteStrategy REQUIRED
null fields will not be enclosed with quotes.public static final QuoteStrategy EMPTY
null fields.
This is required for PostgreSQL CSV imports for example.public static final QuoteStrategy ALWAYS
null fields).public static QuoteStrategy[] values()
for (QuoteStrategy c : QuoteStrategy.values()) System.out.println(c);
public static QuoteStrategy 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