org.apache.myfaces.custom.exporter.util
Class ExcelExporterUtil

java.lang.Object
  extended by org.apache.myfaces.custom.exporter.util.ExcelExporterUtil

public class ExcelExporterUtil
extends java.lang.Object

This class is a utility class for serving excel exporting.


Constructor Summary
ExcelExporterUtil()
           
 
Method Summary
static void generateEXCEL(javax.faces.context.FacesContext facesContext, javax.servlet.http.HttpServletResponse response, java.lang.String fileName, javax.faces.component.html.HtmlDataTable dataTable)
          This utility method is used for generating the excel table to the HttpServletResponse object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExcelExporterUtil

public ExcelExporterUtil()
Method Detail

generateEXCEL

public static void generateEXCEL(javax.faces.context.FacesContext facesContext,
                                 javax.servlet.http.HttpServletResponse response,
                                 java.lang.String fileName,
                                 javax.faces.component.html.HtmlDataTable dataTable)
                          throws java.io.IOException
This utility method is used for generating the excel table to the HttpServletResponse object.

Parameters:
workBook -
response -
fileName -
Throws:
java.io.IOException


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.