public enum CSVReadState extends java.lang.Enum<CSVReadState>
Enum Constant and Description |
---|
AFTER_END_QUOTE
parser: We have just hit a quote, might be doubled or might be last one.
|
IN_PLAIN
parser: We are in the middle of an ordinary field, possible full of blanks.
|
IN_QUOTED
parser: e are in middle of field surrounded in quotes.
|
SEEKING_FIELD
parser : we don't yet know if there is another non-comment field on the line.
|
SEEKING_START
parser: We are in blanks before a field that we know is there, possibly empty, because we have seen
the comma after the previous field.
|
SKIPPING_TAIL
parser: We are in blanks after a quoted field looking for the separator
|
Modifier and Type | Method and Description |
---|---|
static CSVReadState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CSVReadState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CSVReadState AFTER_END_QUOTE
public static final CSVReadState IN_PLAIN
public static final CSVReadState IN_QUOTED
public static final CSVReadState SEEKING_FIELD
public static final CSVReadState SEEKING_START
public static final CSVReadState SKIPPING_TAIL
public static CSVReadState[] values()
for (CSVReadState c : CSVReadState.values()) System.out.println(c);
public static CSVReadState 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