Class LabelHeadersForCSV
Object
LabelHeadersForCSV
Generates a list of header-names for columns unrelated to features (identifiers and groups)
- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionstatic LabelHeaders
createHeaders
(String[] nonGroupHeaders, Optional<String> additionalGroupHeader, boolean groupsEnabled) Creates the label-headers (the headers for columns not associated with features).
-
Method Details
-
createHeaders
public static LabelHeaders createHeaders(String[] nonGroupHeaders, Optional<String> additionalGroupHeader, boolean groupsEnabled) Creates the label-headers (the headers for columns not associated with features).- Parameters:
nonGroupHeaders
- headers that identify the row unrelated to groups.additionalGroupHeader
- additional group-header used after theGROUP_HEADER_STANDARD
if groups are enabled.groupsEnabled
- whether groups are enabled or not. Iff true, group headers are included.- Returns:
- the headers.
-