public static enum CSVFormat.Quote extends Enum<CSVFormat.Quote>
Enum Constant and Description |
---|
ALWAYS
Each content element is quoted.
|
NEVER
Content is never quoted.
|
SPECIAL_CHARACTERS
Only content elements are quoted containing special characters.
|
Modifier and Type | Method and Description |
---|---|
static CSVFormat.Quote |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CSVFormat.Quote[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CSVFormat.Quote ALWAYS
public static final CSVFormat.Quote SPECIAL_CHARACTERS
Special characters consist of:
,
: The comma;
: The semi colon"
: The double quote'
: The apostrophe\
: The backslash\t
: The tab character\n
: The line feed character\r
: The carriage return characterpublic static final CSVFormat.Quote NEVER
public static CSVFormat.Quote[] values()
for (CSVFormat.Quote c : CSVFormat.Quote.values()) System.out.println(c);
public static CSVFormat.Quote valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017. All Rights Reserved.