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