public static enum LineImporterSpec.Header extends Enum<LineImporterSpec.Header>
| Enum Constant and Description |
|---|
FIRST
first line is the header line, same as INDEX, getHeaderLineIndex()==1
|
INDEX
the 1-based index of the header line is given
with
LineImporterSpec.setHeaderLineIndex(int). |
NONE
no header line
|
| Modifier and Type | Method and Description |
|---|---|
static LineImporterSpec.Header |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineImporterSpec.Header[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineImporterSpec.Header NONE
public static final LineImporterSpec.Header FIRST
public static final LineImporterSpec.Header INDEX
LineImporterSpec.setHeaderLineIndex(int).
all lines before the index are are processed with generic field names (field_0, field_1, ...)public static LineImporterSpec.Header[] values()
for (LineImporterSpec.Header c : LineImporterSpec.Header.values()) System.out.println(c);
public static LineImporterSpec.Header 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 © 2008-2016. All Rights Reserved.