}
public ByteArrayOutputStream exportAsCSV() throws IOException {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
ExcelCSVPrinter ecsvp = new ExcelCSVPrinter(baos);
ecsvp.changeDelimiter(';');
ecsvp.setAlwaysQuote(true);
//Generate the item row
List<String> colLabels = getColLabels();
ecsvp.write("");
for (String colLabel : colLabels) {