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
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription@NotNull StringThe delimiter to be used between CSV cells, defaulting to",".@NotNull CSVFormatdelimiter(char newDelimiter) The delimiter to be used between CSV cells, defaulting to",".@NotNull CSVFormatThe delimiter to be used between CSV cells, defaulting to",".@NotNull StringThe string to be used for""values, defaulting to the empty string.@NotNull CSVFormatemptyString(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.@NotNull CSVFormatheader(boolean newHeader) Whether to emit a header row with column names, defaulting totrue.@NotNull Stringnewline()The string to be used to separate rows, defaulting to\n.@NotNull CSVFormatThe string to be used to separate rows, defaulting to\n.@NotNull StringThe string to be used fornullvalues, defaulting to the empty string.@NotNull CSVFormatnullString(String newNullString) The string to be used fornullvalues, defaulting to the empty string.@NotNull CSVFormat.Quotequote()When to quote CSV content.@NotNull CSVFormatquote(CSVFormat.Quote newQuote) When to quote CSV content.@NotNull StringThe string used to quote values according to the rules specified inquote().@NotNull CSVFormatquoteString(String newQuoteString) The string used to quote values according to the rules specified inquote().
- 
Field Details- 
DEFAULT
 
- 
- 
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.
 
-