Package org.primefaces.component.export
Interface Exporter<T>
- All Known Implementing Classes:
DataTableCSVExporter
,DataTableExcelExporter
,DataTableExcelXExporter
,DataTableExcelXStreamExporter
,DataTableExporter
,DataTablePDFExporter
,DataTableXMLExporter
,TableExporter
,TreeTableCSVExporter
,TreeTableExcelExporter
,TreeTableExcelXExporter
,TreeTableExcelXStreamExporter
,TreeTableExporter
,TreeTablePDFExporter
,TreeTableXMLExporter
public interface Exporter<T>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
export
(javax.faces.context.FacesContext facesContext, List<T> component, ExportConfiguration exportConfiguration) Content-type (MIME-type) excluding charset.File-extension of the exported file including a leading dot.
-
Method Details
-
export
void export(javax.faces.context.FacesContext facesContext, List<T> component, ExportConfiguration exportConfiguration) throws IOException - Throws:
IOException
-
getContentType
String getContentType()Content-type (MIME-type) excluding charset. (eg 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet') -
getFileExtension
String getFileExtension()File-extension of the exported file including a leading dot. (eg '.xlsx')
-