Package org.primefaces.component.export
Interface Exporter<T extends javax.faces.component.UIComponent>
-
- All Known Implementing Classes:
DataTableCSVExporter
,DataTableExcelExporter
,DataTableExcelXExporter
,DataTableExcelXStreamExporter
,DataTableExporter
,DataTablePDFExporter
,DataTableXMLExporter
public interface Exporter<T extends javax.faces.component.UIComponent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
export(javax.faces.context.FacesContext facesContext, List<T> component, OutputStream outputStream, ExportConfiguration exportConfiguration)
String
getContentType()
Content-type (MIME-type) excluding charset.String
getFileExtension()
File-extension of the exported file including a leading dot.
-
-
-
Method Detail
-
export
void export(javax.faces.context.FacesContext facesContext, List<T> component, OutputStream outputStream, 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')
-
-