java.lang.Object
org.jooq.CSVFormat
A CSV formatting type, which can be used to configure CSV imports / exports.
 
 The type is immutable, meaning calls to setters like delimiter(char)
 do not modify the original reference, but return a new one instead.
- Author:
- Lukas Eder
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionThe delimiter to be used between CSV cells, defaulting to",".delimiter(char newDelimiter)The delimiter to be used between CSV cells, defaulting to",".The delimiter to be used between CSV cells, defaulting to",".The string to be used for""values, defaulting to the empty string.emptyString(String newEmptyString)The string to be used for""values, defaulting to the empty string.booleanheader()Whether to emit a header row with column names, defaulting totrue.header(boolean newHeader)Whether to emit a header row with column names, defaulting totrue.newline()The string to be used to separate rows, defaulting to\n.The string to be used to separate rows, defaulting to\n.The string to be used fornullvalues, defaulting to the empty string.nullString(String newNullString)The string to be used fornullvalues, defaulting to the empty string.quote()When to quote CSV content.quote(CSVFormat.Quote newQuote)When to quote CSV content.The string used to quote values according to the rules specified inquote().quoteString(String newQuoteString)The string used to quote values according to the rules specified inquote().
- 
Constructor Details- 
CSVFormatpublic CSVFormat()
 
- 
- 
Method Details- 
delimiterThe delimiter to be used between CSV cells, defaulting to",".Using ","a,b,cUsing ";"a;b;c
- 
delimiterThe delimiter to be used between CSV cells, defaulting to",".Using ","a,b,cUsing ";"a;b;c
- 
delimiterThe delimiter to be used between CSV cells, defaulting to",".Using ","a,b,cUsing ";"a;b;c
- 
nullStringThe string to be used fornullvalues, defaulting to the empty string.Using ""a,,cUsing "\"\""a,"",cUsing "{null}"a,{null},c
- 
nullStringThe string to be used fornullvalues, defaulting to the empty string.Using ""a,,cUsing "\"\""a,"",cUsing "{null}"a,{null},c
- 
emptyStringThe string to be used for""values, defaulting to the empty string.Using ""a,,cUsing "\"\""a,"",c
- 
emptyStringThe string to be used for""values, defaulting to the empty string.Using ""a,,cUsing "\"\""a,"",c
- 
newlineThe string to be used to separate rows, defaulting to\n.
- 
newlineThe string to be used to separate rows, defaulting to\n.
- 
quoteStringThe string used to quote values according to the rules specified inquote().
- 
quoteStringThe string used to quote values according to the rules specified inquote().
- 
quoteWhen to quote CSV content.
- 
quoteWhen to quote CSV content.
- 
headerWhether to emit a header row with column names, defaulting totrue.
- 
headerpublic boolean header()Whether to emit a header row with column names, defaulting totrue.
 
-