com.github.dandelion.datatables.core.export
Interface DatatablesExport

All Known Implementing Classes:
CsvExport, XmlExport

public interface DatatablesExport

Interface for all export classes.

Author:
Thibault Duchateau

Method Summary
 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.
 

Method Detail

initExport

void initExport(HtmlTable table)

Initialize the implementation classes with all needed informations.

Usually, only the HtmlTable is needed, because it already contains lots of information.

Parameters:
table - The HTML table containing all needed information for the export.

processExport

void processExport(OutputStream output)
The main export method that is called by Dandelion-datatables in charge of writing in the output.

Parameters:
output - The stream to fill and which will override the default response during export.
Throws:
ExportException - if something goes wrong during the export.


Copyright © 2013–2014 Dandelion Project. All rights reserved.