Project Wonder 5.0

er.jasperreports
Class ERJRUtilities

java.lang.Object
  extended by er.jasperreports.ERJRUtilities

public class ERJRUtilities
extends java.lang.Object

8/24/2010: All methods related to on the fly compilation of jrxml templates have been removed since this does not make sense

Author:
kieran

Constructor Summary
ERJRUtilities()
           
 
Method Summary
static java.io.File runCompiledReportToPDFFile(java.lang.String compiledReportName, java.lang.String frameworkName, java.util.Map parameters, net.sf.jasperreports.engine.JRDataSource dataSource)
          It is important to use the JasperRunManager method called below and avoid the use of InputStream etc because by providing the file pathname of the report to the JasperRunManager, it will then look for images defined by String as filenames and paths relative to the file path of the report template itself.
static java.lang.String toString(net.sf.jasperreports.engine.JRField jrField)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ERJRUtilities

public ERJRUtilities()
Method Detail

runCompiledReportToPDFFile

public static java.io.File runCompiledReportToPDFFile(java.lang.String compiledReportName,
                                                      java.lang.String frameworkName,
                                                      java.util.Map parameters,
                                                      net.sf.jasperreports.engine.JRDataSource dataSource)
It is important to use the JasperRunManager method called below and avoid the use of InputStream etc because by providing the file pathname of the report to the JasperRunManager, it will then look for images defined by String as filenames and paths relative to the file path of the report template itself. Thus making it easy for us to implement report images by just dropping them into the Resources directory alongside the jasper report template.

Parameters:
compiledReportName -
frameworkName -
parameters -
dataSource -
Returns:
the completed report PDF file

toString

public static java.lang.String toString(net.sf.jasperreports.engine.JRField jrField)
Parameters:
jrField -
Returns:
something more useful than the built-in toString method for debugging

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.