public void writeAll(File file, Collection<T> entities, boolean writeHeader) throws IOException {
		writeAll(new FileWriter(file), entities, writeHeader);
	}
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.

@param file
Where to write the header and entities.
@param entities
Collection of entities to write to the writer.
@param writeHeader
Set to true to write header at the start of the output file.
@throws IOException
If there are any IO exceptions thrown when writing.