public class CsvExport extends Object implements DatatablesExport
CSV implementation of DatatablesExport that exports data in CSV
format.
| Constructor and Description |
|---|
CsvExport() |
| 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)
DatatablesExportInitialize the implementation classes with all needed informations.
Usually, only the HtmlTable is needed, because it already contains lots of information.
initExport in interface DatatablesExporttable - The HTML table containing all needed information for the export.public void processExport(OutputStream output)
DatatablesExportThe main export method that is called by Dandelion-datatables in charge of writing in the output.
processExport in interface DatatablesExportoutput - The stream to fill and which will override the default response
during export.Copyright © 2013–2015 Dandelion Project. All rights reserved.