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

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

public class ExcelExporterUtil
extends 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, 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,
                                 String fileName,
                                 javax.faces.component.html.HtmlDataTable dataTable)
                          throws IOException
This utility method is used for generating the excel table to the HttpServletResponse object.

Parameters:
workBook -
response -
fileName -
Throws:
IOException


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