private String generateCsvHeader ( final IClassContainer container ) { final String separatorAsStr = String . valueOf ( separator ) ; return container . getFormatSupported ( Format . CSV ) . entrySet ( ) . stream ( ) . map ( e -> e . getValue ( ) . getExportName ( ) ) . collect ( Collectors . joining ( separatorAsStr ) ) ; }
Generates header for CSV file