org.primefaces.component.export
Class ExcelExporter
java.lang.Object
org.primefaces.component.export.Exporter
org.primefaces.component.export.ExcelExporter
public class ExcelExporter
- extends Exporter
Method Summary |
protected void |
addColumnFacets(DataTable table,
org.apache.poi.ss.usermodel.Sheet sheet,
Exporter.ColumnType columnType)
|
protected void |
addColumnValue(org.apache.poi.ss.usermodel.Row row,
List<javax.faces.component.UIComponent> components)
|
protected void |
addColumnValue(org.apache.poi.ss.usermodel.Row row,
javax.faces.component.UIComponent component)
|
void |
export(javax.faces.context.FacesContext context,
DataTable table,
String filename,
boolean pageOnly,
boolean selectionOnly,
String encodingType,
javax.el.MethodExpression preProcessor,
javax.el.MethodExpression postProcessor)
|
protected void |
exportCells(DataTable table,
Object document)
|
protected void |
writeExcelToResponse(javax.faces.context.ExternalContext externalContext,
org.apache.poi.ss.usermodel.Workbook generatedExcel,
String filename)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExcelExporter
public ExcelExporter()
export
public void export(javax.faces.context.FacesContext context,
DataTable table,
String filename,
boolean pageOnly,
boolean selectionOnly,
String encodingType,
javax.el.MethodExpression preProcessor,
javax.el.MethodExpression postProcessor)
throws IOException
- Specified by:
export
in class Exporter
- Throws:
IOException
exportCells
protected void exportCells(DataTable table,
Object document)
- Specified by:
exportCells
in class Exporter
addColumnFacets
protected void addColumnFacets(DataTable table,
org.apache.poi.ss.usermodel.Sheet sheet,
Exporter.ColumnType columnType)
addColumnValue
protected void addColumnValue(org.apache.poi.ss.usermodel.Row row,
javax.faces.component.UIComponent component)
addColumnValue
protected void addColumnValue(org.apache.poi.ss.usermodel.Row row,
List<javax.faces.component.UIComponent> components)
writeExcelToResponse
protected void writeExcelToResponse(javax.faces.context.ExternalContext externalContext,
org.apache.poi.ss.usermodel.Workbook generatedExcel,
String filename)
throws IOException
- Throws:
IOException
Copyright © 2013. All rights reserved.