public static enum BasicFormatBuilder.Style extends java.lang.Enum<BasicFormatBuilder.Style>
CSVFormat
Enum Constant and Description |
---|
DEFAULT
Corresponds to
CSVFormat.DEFAULT which is equivalent to RFC4180 but ignores empty lines. |
EXCEL
Corresponds to
CSVFormat.EXCEL . |
MYSQL
Corresponds to
CSVFormat.MYSQL . |
RFC4180
Corresponds to
CSVFormat.RFC4180 . |
TAB_DELIMITED
Corresponds to
CSVFormat.TDF . |
Modifier and Type | Method and Description |
---|---|
static BasicFormatBuilder.Style |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BasicFormatBuilder.Style[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BasicFormatBuilder.Style DEFAULT
CSVFormat.DEFAULT
which is equivalent to RFC4180 but ignores empty lines.
public static final BasicFormatBuilder.Style EXCEL
CSVFormat.EXCEL
.
Note that the actual value delimiter used by Excel is locale dependent, so this defaults to the baseline format rather than using the locale specific format.
public static final BasicFormatBuilder.Style MYSQL
CSVFormat.MYSQL
.
Default MySQL format used by the SELECT INTO OUTFILE and LOAD DATA INFILE operations.
public static final BasicFormatBuilder.Style RFC4180
CSVFormat.RFC4180
.
public static final BasicFormatBuilder.Style TAB_DELIMITED
CSVFormat.TDF
.
public static BasicFormatBuilder.Style[] values()
for (BasicFormatBuilder.Style c : BasicFormatBuilder.Style.values()) System.out.println(c);
public static BasicFormatBuilder.Style valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null