public static enum CsvFormatException.Reason extends Enum<CsvFormatException.Reason>
Enum Constant and Description |
---|
CHARACTER_AFTER_QUOTE
Unexpected character is appearred after quote was closed.
|
INVALID_CELL_FORMAT
Invalid cell format.
|
TOO_LONG_RECORD
Too many cells in a record.
|
TOO_SHORT_RECORD
Too short cells in a record.
|
UNEXPECTED_EOF
Unexpected EOF is appearred (may be in double-quote).
|
UNEXPECTED_LINE_BREAK
Unexpected line break is appearred in value (only if restricted).
|
Modifier and Type | Method and Description |
---|---|
static CsvFormatException.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CsvFormatException.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CsvFormatException.Reason UNEXPECTED_LINE_BREAK
public static final CsvFormatException.Reason UNEXPECTED_EOF
public static final CsvFormatException.Reason CHARACTER_AFTER_QUOTE
public static final CsvFormatException.Reason INVALID_CELL_FORMAT
public static final CsvFormatException.Reason TOO_SHORT_RECORD
public static final CsvFormatException.Reason TOO_LONG_RECORD
public static CsvFormatException.Reason[] values()
for (CsvFormatException.Reason c : CsvFormatException.Reason.values()) System.out.println(c);
public static CsvFormatException.Reason 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 © 2011–2019 Asakusa Framework Team. All rights reserved.