The type is immutable, meaning calls to setters like delimiter(char)
do not modify the original reference, but return a new one instead.
| Modifier and Type | Class and Description |
|---|---|
| public static enum | CSVFormat.Quote
When to apply the quote |
| Modifier and Type | Field and Description |
|---|---|
| public static final CSVFormat | |
| pack-priv final String | |
| pack-priv final String | |
| pack-priv final boolean | |
| pack-priv final String | |
| pack-priv final String | |
| pack-priv final CSVFormat. | |
| pack-priv final String |
| Access | Constructor and Description |
|---|---|
| public | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public @NotNull CSVFormat | |
| public @NotNull CSVFormat | |
| public @NotNull String | |
| public @NotNull CSVFormat | emptyString(String newEmptyString)
The string to be used for |
| public @NotNull String | |
| public @NotNull CSVFormat | |
| public boolean | |
| public @NotNull CSVFormat | |
| public @NotNull String | |
| public @NotNull CSVFormat | nullString(String newNullString)
The string to be used for |
| public @NotNull String | |
| public @NotNull CSVFormat | |
| public @NotNull CSVFormat. | |
| public @NotNull CSVFormat | quoteString(String newQuoteString)
The string used to quote values according to the rules specified in
|
| public @NotNull String |
| DEFAULT | back to summary |
|---|---|
| public static final CSVFormat DEFAULT | |
| delimiter | back to summary |
|---|---|
| pack-priv final String delimiter | |
| emptyString | back to summary |
|---|---|
| pack-priv final String emptyString | |
| header | back to summary |
|---|---|
| pack-priv final boolean header | |
| newline | back to summary |
|---|---|
| pack-priv final String newline | |
| nullString | back to summary |
|---|---|
| pack-priv final String nullString | |
| quote | back to summary |
|---|---|
| pack-priv final CSVFormat. | |
| quoteString | back to summary |
|---|---|
| pack-priv final String quoteString | |
| CSVFormat | back to summary |
|---|---|
| public CSVFormat() | |
| CSVFormat | back to summary |
|---|---|
| private CSVFormat(String delimiter, String nullString, String emptyString, String newline, String quoteString, CSVFormat. | |
| delimiter | back to summary | ||||
|---|---|---|---|---|---|
| public @NotNull CSVFormat delimiter(String newDelimiter) The delimiter to be used between CSV cells, defaulting to
| |||||
| delimiter | back to summary | ||||
|---|---|---|---|---|---|
| public @NotNull CSVFormat delimiter(char newDelimiter) The delimiter to be used between CSV cells, defaulting to
| |||||
| delimiter | back to summary | ||||
|---|---|---|---|---|---|
| public @NotNull String delimiter() The delimiter to be used between CSV cells, defaulting to
| |||||
| emptyString | back to summary | ||||
|---|---|---|---|---|---|
| public @NotNull CSVFormat emptyString(String newEmptyString) The string to be used for
| |||||
| emptyString | back to summary | ||||
|---|---|---|---|---|---|
| public @NotNull String emptyString() The string to be used for
| |||||
| header | back to summary |
|---|---|
| public @NotNull CSVFormat header(boolean newHeader) Whether to emit a header row with column names, defaulting to
| |
| header | back to summary |
|---|---|
| public boolean header() Whether to emit a header row with column names, defaulting to
| |
| newline | back to summary |
|---|---|
| public @NotNull CSVFormat newline(String newNewline) The string to be used to separate rows, defaulting to
| |
| newline | back to summary |
|---|---|
| public @NotNull String newline() The string to be used to separate rows, defaulting to
| |
| nullString | back to summary | ||||||
|---|---|---|---|---|---|---|---|
| public @NotNull CSVFormat nullString(String newNullString) The string to be used for
| |||||||
| nullString | back to summary | ||||||
|---|---|---|---|---|---|---|---|
| public @NotNull String nullString() The string to be used for
| |||||||
| quote | back to summary |
|---|---|
| public @NotNull CSVFormat quote(CSVFormat. When to quote CSV content.
| |
| quote | back to summary |
|---|---|
| public @NotNull CSVFormat. When to quote CSV content.
| |
| quoteString | back to summary |
|---|---|
| public @NotNull CSVFormat quoteString(String newQuoteString) The string used to quote values according to the rules specified in
| |
| quoteString | back to summary |
|---|---|
| public @NotNull String quoteString() The string used to quote values according to the rules specified in
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final CSVFormat. | ALWAYS
Each content element is quoted. |
| public static final CSVFormat. | NEVER
Content is never quoted. |
| public static final CSVFormat. | SPECIAL_CHARACTERS
Only content elements are quoted containing special characters. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static CSVFormat. | |
| public static CSVFormat. |
| ALWAYS | back to summary |
|---|---|
| public static final CSVFormat. Each content element is quoted. | |
| NEVER | back to summary |
|---|---|
| public static final CSVFormat. Content is never quoted. | |
| SPECIAL_CHARACTERS | back to summary |
|---|---|
| public static final CSVFormat. Only content elements are quoted containing special characters. Special characters consist of:
| |
| Quote | back to summary |
|---|---|
| private Quote() | |
| valueOf | back to summary |
|---|---|
| public static CSVFormat. | |
| values | back to summary |
|---|---|
| public static CSVFormat. | |