writer.close();
return getOutputFile(reportName);
}
private void writeTitleRow(CSVWriter writer) {
Inflector inflector = Inflector.getInstance();
List<String> titles = new ArrayList<String>();
titles.addAll(Arrays.asList(TITLE_LINE));
for(String extraColumn : extraColumns) {
titles.add(inflector.of(extraColumn).asATitle().toString());
}
writer.writeNext(titles.toArray(OF_STRINGS));
}