public static final class ExportImportCSVSpec.Header extends Object
Modifier and Type | Field and Description |
---|---|
static ExportImportCSVSpec.Header |
LABEL
For each "column", the CSV header includes its label.
|
static ExportImportCSVSpec.Header |
NONE
CSV file has no header.
|
static ExportImportCSVSpec.Header |
PATH_IN_TABLE
For each "column", the CSV header contains its path in the
table.
|
Modifier and Type | Method and Description |
---|---|
String |
format()
Returns a persistent identifier for this header.
|
String |
getLabel()
Returns a human-readable label.
|
boolean |
isLabel() |
boolean |
isNone() |
boolean |
isPathInTable() |
static ExportImportCSVSpec.Header |
parse(String flag)
Parses the specified string and returns the corresponding CSV header instance.
|
String |
toString() |
public static final ExportImportCSVSpec.Header NONE
public static final ExportImportCSVSpec.Header LABEL
path
) is returned.public static final ExportImportCSVSpec.Header PATH_IN_TABLE
SchemaNode.getPathInAdaptation()
public boolean isNone()
public boolean isLabel()
public boolean isPathInTable()
public String getLabel()
public final String format()
parse(String)
public static ExportImportCSVSpec.Header parse(String flag)
The specified string must have been generated by format()
.
format()