Package org.supercsv.quote
Class NormalQuoteMode
- java.lang.Object
-
- org.supercsv.quote.NormalQuoteMode
-
-
Constructor Summary
Constructors Constructor Description NormalQuoteMode()
Constructs a new NormalQuoteMode.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
quotesRequired(java.lang.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).
-
-
-
Method Detail
-
quotesRequired
public boolean quotesRequired(java.lang.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).- Specified by:
quotesRequired
in interfaceQuoteMode
- Parameters:
csvColumn
- an element of a CSV filecontext
- the contextpreference
- the CSV preferences- Returns:
- true if surrounding quotes are mandatory, otherwise false
-
-