/** * This implementation disposes of the {@link SXSSFWorkbook} when done with rendering. * @see org.apache.poi.xssf.streaming.SXSSFWorkbook#dispose() */ @Override protected void renderWorkbook(Workbook workbook, HttpServletResponse response) throws IOException { super.renderWorkbook(workbook, response); // Dispose of temporary files in case of streaming variant... ((SXSSFWorkbook) workbook).dispose(); }
/** * Default Constructor. * <p>Sets the content type of the view to * {@code "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}. */ public AbstractXlsxView() { setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"); }
/** * Default Constructor. * <p>Sets the content type of the view to * {@code "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}. */ public AbstractXlsxView() { setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"); }
/** * This implementation disposes of the {@link SXSSFWorkbook} when done with rendering. * @see org.apache.poi.xssf.streaming.SXSSFWorkbook#dispose() */ @Override protected void renderWorkbook(Workbook workbook, HttpServletResponse response) throws IOException { super.renderWorkbook(workbook, response); // Dispose of temporary files in case of streaming variant... ((SXSSFWorkbook) workbook).dispose(); }
/** * Default Constructor. * <p>Sets the content type of the view to * {@code "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}. */ public AbstractXlsxView() { setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"); }
/** * This implementation disposes of the {@link SXSSFWorkbook} when done with rendering. * @see org.apache.poi.xssf.streaming.SXSSFWorkbook#dispose() */ @Override protected void renderWorkbook(Workbook workbook, HttpServletResponse response) throws IOException { super.renderWorkbook(workbook, response); // Dispose of temporary files in case of streaming variant... ((SXSSFWorkbook) workbook).dispose(); }