Constructor and Description |
---|
AlwaysQuoteMode()
Constructs a new AlwaysQuoteMode.
|
Modifier and Type | Method and Description |
---|---|
boolean |
quotesRequired(String csvColumn,
CsvContext context,
CsvPreference preference)
Determines whether surrounding quotes are mandatory in cases where the CSV column would not normally be quoted
(the data to be written doesn't contain special characters).
|
public boolean quotesRequired(String csvColumn, CsvContext context, CsvPreference preference)
quotesRequired
in interface QuoteMode
csvColumn
- an element of a CSV filecontext
- the contextpreference
- the CSV preferencesCopyright © 2007–2015 Super CSV. All rights reserved.