org.jfree.report.modules.output.table.xls
Class ExcelReportUtil

java.lang.Object
  |
  +--org.jfree.report.modules.output.table.xls.ExcelReportUtil

public final class ExcelReportUtil
extends java.lang.Object

Utility class to provide an easy to use default implementation of excel exports.

Author:
Thomas Morgner

Method Summary
static void createXLS(JFreeReport report, java.lang.String filename)
          Saves a report to Excel format.
static void createXLS(JFreeReport report, java.lang.String filename, boolean strict)
          Saves a report to Excel format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createXLS

public static void createXLS(JFreeReport report,
                             java.lang.String filename)
                      throws java.io.IOException,
                             ReportProcessingException
Saves a report to Excel format.
Parameters:
report - the report.
filename - target file name.
Throws:
ReportProcessingException - if the report processing failed.
java.io.IOException - if there was an IOerror while processing the report.

createXLS

public static void createXLS(JFreeReport report,
                             java.lang.String filename,
                             boolean strict)
                      throws java.io.IOException,
                             ReportProcessingException
Saves a report to Excel format.
Parameters:
report - the report.
filename - target file name.
Throws:
ReportProcessingException - if the report processing failed.
java.io.IOException - if there was an IOerror while processing the report.