|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.engines.qbe.query.ReportRunner
public class ReportRunner
Compile, fill and export a report template to a file or stream.
Field Summary | |
---|---|
static org.apache.log4j.Logger |
logger
Logger component. |
Constructor Summary | |
---|---|
ReportRunner()
Instantiates a new report runner. |
Method Summary | |
---|---|
net.sf.jasperreports.engine.fill.JRFileVirtualizer |
getVirtualizer(int maxNumOfPages,
java.lang.String tmpDirectory)
Gets the virtualizer. |
void |
run(java.lang.String templateContent,
java.io.File reportFile,
java.lang.String outputType,
java.sql.Connection conn,
java.util.Locale locale)
Run. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static transient org.apache.log4j.Logger logger
Constructor Detail |
---|
public ReportRunner()
Method Detail |
---|
public void run(java.lang.String templateContent, java.io.File reportFile, java.lang.String outputType, java.sql.Connection conn, java.util.Locale locale) throws java.lang.Exception
templateFile
- the template filereportFile
- the report fileoutputType
- the output typeconn
- the conn
java.lang.Exception
- the exceptionpublic net.sf.jasperreports.engine.fill.JRFileVirtualizer getVirtualizer(int maxNumOfPages, java.lang.String tmpDirectory)
maxNumOfPages
- the max num of pagestmpDirectory
- the tmp directory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |