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 Summary
Nested Classes - 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier 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().redacted()The string value to show for redacted content.@NotNull CSVFormatThe string value to show for redacted content. 
- 
Field Details
- 
DEFAULT
 
 - 
 - 
Constructor Details
- 
CSVFormat
public CSVFormat() 
 - 
 - 
Method Details
- 
redacted
The string value to show for redacted content. - 
redacted
The string value to show for redacted content. - 
delimiter
The delimiter to be used between CSV cells, defaulting to",".Using ","a,b,cUsing ";"a;b;c - 
delimiter
The delimiter to be used between CSV cells, defaulting to",".Using ","a,b,cUsing ";"a;b;c - 
delimiter
The delimiter to be used between CSV cells, defaulting to",".Using ","a,b,cUsing ";"a;b;c - 
nullString
The string to be used fornullvalues, defaulting to the empty string.Using ""a,,cUsing "\"\""a,"",cUsing "{null}"a,{null},c - 
nullString
The string to be used fornullvalues, defaulting to the empty string.Using ""a,,cUsing "\"\""a,"",cUsing "{null}"a,{null},c - 
emptyString
The string to be used for""values, defaulting to the empty string.Using ""a,,cUsing "\"\""a,"",c - 
emptyString
The string to be used for""values, defaulting to the empty string.Using ""a,,cUsing "\"\""a,"",c - 
newline
The string to be used to separate rows, defaulting to\n. - 
newline
The string to be used to separate rows, defaulting to\n. - 
quoteString
The string used to quote values according to the rules specified inquote(). - 
quoteString
The string used to quote values according to the rules specified inquote(). - 
quote
When to quote CSV content. - 
quote
When to quote CSV content. - 
header
Whether to emit a header row with column names, defaulting totrue. - 
header
public boolean header()Whether to emit a header row with column names, defaulting totrue. 
 -