public static OutputWriter getWriter ( final String filename , final List < InputColumn < ? > > columns ) { final InputColumn < ? > [ ] columnArray = columns . toArray ( new InputColumn < ? > [ columns . size ( ) ] ) ; final String [ ] headers = new String [ columnArray . length ] ; for ( int i = 0 ; i < headers . length ; i ++ ) { headers [ i ] = columnArray [ i ] . getName ( ) ; } return getWriter ( filename , headers , ' ' , ' ' , ' ' , true , columnArray ) ; }
Creates a CSV output writer with default configuration