save the data to a file . concode_field_sep String[] headers concode_elem_sep List<List<String>> data concode_field_sep void addRow concode_elem_sep String asText concode_elem_sep void setHeader
void function ( String arg0 ) { CsvWriter loc0 = new CsvWriter ( arg0 , ',' , Charsets . UTF_8 ) ; if ( headers != null ) loc0 . writeRecord ( headers ) ; for ( List < String > loc1 : data ) { loc0 . writeRecord ( loc1 . toArray ( new String [ loc1 . size ( ) ] ) ) ; } loc0 . close ( ) ; }