public class XlsxExport extends Object implements DatatablesExport
XLSX implementation of DatatablesExport
that exports data in XLSX
format using Apache POI.
Constructor and Description |
---|
XlsxExport() |
Modifier and Type | Method and Description |
---|---|
void |
initExport(HtmlTable table)
Initialize the implementation classes with all needed informations.
|
void |
processExport(OutputStream output)
The main export method that is called by Dandelion-datatables in charge of
writing in the output.
|
public void initExport(HtmlTable table)
DatatablesExport
Initialize the implementation classes with all needed informations.
Usually, only the HtmlTable is needed, because it already contains lots of information.
initExport
in interface DatatablesExport
table
- The HTML table containing all needed information for the export.public void processExport(OutputStream output)
DatatablesExport
The main export method that is called by Dandelion-datatables in charge of writing in the output.
processExport
in interface DatatablesExport
output
- The stream to fill and which will override the default response
during export.Copyright © 2013–2015 Dandelion Project. All rights reserved.