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