code: public static String getSegmentNameFromHeader(String headerSegmentName) {
          Preconditions.checkArgument(headerSegmentName.endsWith(HEADER_SUFFIX));
          return headerSegmentName.substring(0, headerSegmentName.length() - HEADER_SUFFIX.length());
      }
docs: Gets the name of the Segment name from its Header Segment Name.
  
  @param headerSegmentName The name of the Header Segment.
  @return The Segment Name.