Class LabelHeadersForCSV

Object
LabelHeadersForCSV

public class LabelHeadersForCSV extends Object
Generates a list of header-names for columns unrelated to features (identifiers and groups)
Author:
Owen Feehan
  • 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 the GROUP_HEADER_STANDARD if groups are enabled.
      groupsEnabled - whether groups are enabled or not. Iff true, group headers are included.
      Returns:
      the headers.