public static enum CSV.LineSeparator extends Enum<CSV.LineSeparator>
CSV.Format#lineSeparator(LineSeparator)
,
BufferedWriter.newLine()
,
BufferedReader.readLine()
Enum Constant and Description |
---|
CR
Carriage return (
'\r' ). |
CR_LF
Carriage return and line feed (
'\r\n' ). |
LF
Line feed.
|
SYSTEM_DEFAULT
System default (
System.get("line.separator") |
Modifier and Type | Method and Description |
---|---|
String |
separator()
Get separator.
|
static CSV.LineSeparator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CSV.LineSeparator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CSV.LineSeparator SYSTEM_DEFAULT
System.get("line.separator")
public static final CSV.LineSeparator CR
'\r'
).public static final CSV.LineSeparator LF
'\n'
).public static final CSV.LineSeparator CR_LF
'\r\n'
).public static CSV.LineSeparator[] values()
for (CSV.LineSeparator c : CSV.LineSeparator.values()) System.out.println(c);
public static CSV.LineSeparator 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 nullpublic String separator()
Copyright © 2016–2021 JDBDT. All rights reserved.