Class TextExporter
java.lang.Object
org.primefaces.component.export.Exporter<T>
org.primefaces.component.export.TableExporter<DataTable>
org.primefaces.component.datatable.export.DataTableExporter
org.primefaces.showcase.view.data.dataexporter.TextExporter
-
Nested Class Summary
Nested classes/interfaces inherited from class org.primefaces.component.datatable.export.DataTableExporter
DataTableExporter.ColumnType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddColumnValue(PrintWriter writer, List<javax.faces.component.UIComponent> components, String tag, UIColumn column) protected voiddoExport(javax.faces.context.FacesContext context, DataTable table, ExportConfiguration exportConfiguration, int index) protected voidexportCells(DataTable table, Object document) protected StringgetColumnTag(UIColumn column) protected voidpostExport(javax.faces.context.FacesContext context, ExportConfiguration exportConfiguration) protected voidpostRowExport(DataTable table, Object document) protected voidpreExport(javax.faces.context.FacesContext context, ExportConfiguration exportConfiguration) protected voidpreRowExport(DataTable table, Object document) Methods inherited from class org.primefaces.component.datatable.export.DataTableExporter
export, exportAll, exportColumnByFunction, exportPageOnly, exportRow, exportRow, exportSelectionOnly, getOutputStream, hasColumnFooterMethods inherited from class org.primefaces.component.export.TableExporter
exportColumn, getExportableColumnsMethods inherited from class org.primefaces.component.export.Exporter
exportValue, getExportConfiguration, setExportConfiguration
-
Constructor Details
-
TextExporter
public TextExporter()
-
-
Method Details
-
preExport
protected void preExport(javax.faces.context.FacesContext context, ExportConfiguration exportConfiguration) throws IOException - Overrides:
preExportin classDataTableExporter- Throws:
IOException
-
doExport
protected void doExport(javax.faces.context.FacesContext context, DataTable table, ExportConfiguration exportConfiguration, int index) throws IOException - Specified by:
doExportin classDataTableExporter- Throws:
IOException
-
postExport
protected void postExport(javax.faces.context.FacesContext context, ExportConfiguration exportConfiguration) throws IOException - Overrides:
postExportin classDataTableExporter- Throws:
IOException
-
preRowExport
- Overrides:
preRowExportin classDataTableExporter
-
postRowExport
- Overrides:
postRowExportin classDataTableExporter
-
exportCells
- Specified by:
exportCellsin classDataTableExporter
-
getColumnTag
-
addColumnValue
protected void addColumnValue(PrintWriter writer, List<javax.faces.component.UIComponent> components, String tag, UIColumn column) -
getContentType
- Specified by:
getContentTypein classExporter<DataTable>
-
getFileExtension
- Specified by:
getFileExtensionin classExporter<DataTable>
-