java.lang.Object
de.siegmar.fastcsv.writer.QuoteStrategies
Provides some common
QuoteStrategy
implementations.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QuoteStrategy
Enclose any field with quotes regardless of its content (even empty andnull
fields).static final QuoteStrategy
Enclose empty but not @{code null} fields to differentiate them.static final QuoteStrategy
Enclose any field with quotes if it has content (is not empty ornull
). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ALWAYS
Enclose any field with quotes regardless of its content (even empty andnull
fields). -
NON_EMPTY
Enclose any field with quotes if it has content (is not empty ornull
). -
EMPTY
Enclose empty but not @{code null} fields to differentiate them. This is required for PostgreSQL CSV imports, for example.
-
-
Constructor Details
-
QuoteStrategies
private QuoteStrategies()
-