public void writeAll ( File file , Collection < T > entities , boolean writeHeader ) throws IOException { writeAll ( new FileWriter ( file ) , entities , writeHeader ) ; }
Write a collection of entities to the writer .