- java.lang.Object
-
- de.siegmar.fastcsv.writer.QuoteStrategies
-
public final class QuoteStrategies extends java.lang.ObjectProvides some commonQuoteStrategyimplementations.
-
-
Field Summary
Fields Modifier and Type Field Description static QuoteStrategyALWAYSEnclose any field with quotes regardless of its content (even empty andnullfields).static QuoteStrategyEMPTYEnclose empty but not @{code null} fields to differentiate them.static QuoteStrategyNON_EMPTYEnclose any field with quotes if it has content (is not empty ornull).
-
Constructor Summary
Constructors Modifier Constructor Description privateQuoteStrategies()
-
-
-
Field Detail
-
ALWAYS
public static final QuoteStrategy ALWAYS
Enclose any field with quotes regardless of its content (even empty andnullfields).
-
NON_EMPTY
public static final QuoteStrategy NON_EMPTY
Enclose any field with quotes if it has content (is not empty ornull).
-
EMPTY
public static final QuoteStrategy EMPTY
Enclose empty but not @{code null} fields to differentiate them. This is required for PostgreSQL CSV imports, for example.
-
-