Class TreeTableExcelXStreamExporter
java.lang.Object
org.primefaces.component.export.TableExporter<TreeTable,P,O>
org.primefaces.component.treetable.export.TreeTableExporter<org.apache.poi.ss.usermodel.Workbook,ExcelOptions>
org.primefaces.component.treetable.export.TreeTableExcelExporter
org.primefaces.component.treetable.export.TreeTableExcelXExporter
org.primefaces.component.treetable.export.TreeTableExcelXStreamExporter
Different implementation of ExcelXExporter using the POI streaming API:
SXSSF (package: org.apache.poi.xssf.streaming) is an API-compatible streaming extension of XSSF
to be used when very large spreadsheets have to be produced, and heap space is limited.
SXSSF achieves its low memory footprint by limiting access to the rows that are within a sliding window.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.primefaces.component.export.TableExporter
TableExporter.ColumnType, TableExporter.FacetType -
Field Summary
Fields inherited from class org.primefaces.component.export.TableExporter
ALL_FACETS, cellJoinComponents, document, exportConfiguration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyOptions(org.apache.poi.ss.usermodel.Sheet sheet) protected org.apache.poi.ss.usermodel.WorkbookcreateDocument(javax.faces.context.FacesContext context) protected voidpostExport(javax.faces.context.FacesContext context) Methods inherited from class org.primefaces.component.treetable.export.TreeTableExcelXExporter
getContentType, getFileExtensionMethods inherited from class org.primefaces.component.treetable.export.TreeTableExcelExporter
autoSizeColumn, calculateColumnOffset, createSheet, exportCellValue, exportColumnFacetValue, exportColumnGroupFacetValue, exportTable, exportTabletFacetValue, getSheetName, preExport, preRowExport, row, sheetMethods inherited from class org.primefaces.component.treetable.export.TreeTableExporter
exportAll, exportPageOnly, exportRow, exportSelectionOnly, getTreeRowCount, traverseTree, traverseTreeMethods inherited from class org.primefaces.component.export.TableExporter
addCells, addColumnFacets, addColumnGroupFacets, addTableFacets, export, getColumnExportTag, getColumnFacetValue, getColumnValue, getComponentFacetValue, getComponentValue, getExportableColumns, getOnTableRenderArgs, options, os, postRowExport
-
Constructor Details
-
TreeTableExcelXStreamExporter
public TreeTableExcelXStreamExporter()
-
-
Method Details
-
createDocument
protected org.apache.poi.ss.usermodel.Workbook createDocument(javax.faces.context.FacesContext context) throws IOException - Overrides:
createDocumentin classTreeTableExcelXExporter- Throws:
IOException
-
postExport
- Overrides:
postExportin classTreeTableExcelExporter- Throws:
IOException
-
applyOptions
protected void applyOptions(org.apache.poi.ss.usermodel.Sheet sheet) - Overrides:
applyOptionsin classTreeTableExcelExporter
-