posted 14 years ago
The following is the code snippet from where I iniitiate the request
ExcelWorkBookWriter ew = new ExcelWorkBookWriter();
LinkedHashMap sheets = new LinkedHashMap();
sheets.put("sheet1", null);
sheets.put("sheet2", null);
sheets.put("sheet3", null);
sheets.put("sheet4", null);
sheets.put("sheet5",null);
try {
ew.init("myxls.xlsx", sheets, null);
} catch (Exception e) {
logger.error("Exception handler " + e.getMessage(), e);
}
ew.importViewData(results);
ew.flushDataIntoWorkbook(exchange.getResponseBody());