Package com.orchestranetworks.service
Class ExportImportCSVSpec.Header
java.lang.Object
com.orchestranetworks.service.ExportImportCSVSpec.Header
- Enclosing class:
- ExportImportCSVSpec
Specifies the header type of the CSV document.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ExportImportCSVSpec.Header
For each "column", the CSV header includes its label.static final ExportImportCSVSpec.Header
CSV file has no header.static final ExportImportCSVSpec.Header
For each "column", the CSV header contains its path in the table. -
Method Summary
Modifier and TypeMethodDescriptionfinal String
format()
Returns a persistent identifier for this header.getLabel()
Returns a human-readable label.boolean
isLabel()
boolean
isNone()
boolean
static ExportImportCSVSpec.Header
Parses the specified string and returns the corresponding CSV header instance.toString()
-
Field Details
-
NONE
CSV file has no header. -
LABEL
For each "column", the CSV header includes its label. Each label is localized according to the preferred locale of the current session. If no user label is defined, the node name (the last step of the node'spath
) is returned. -
PATH_IN_TABLE
For each "column", the CSV header contains its path in the table.- See Also:
-
-
Method Details
-
isNone
public boolean isNone() -
isLabel
public boolean isLabel() -
isPathInTable
public boolean isPathInTable() -
getLabel
Returns a human-readable label. -
format
Returns a persistent identifier for this header.- See Also:
-
parse
Parses the specified string and returns the corresponding CSV header instance.The specified string must have been generated by
format()
.- See Also:
-
toString
-