Java Doc for JasperCompileManager.java in  » Report » jasperreports-2.0.1 » net » sf » jasperreports » engine » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Report » jasperreports 2.0.1 » net.sf.jasperreports.engine 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sf.jasperreports.engine.JasperCompileManager

JasperCompileManager
public class JasperCompileManager (Code)
Façade class for compiling report designs into the ready-to-fill form and for getting the XML representation of report design objects for storage or network transfer. Report compilation using this class is delegated to the net.sf.jasperreports.engine.design.JRDefaultCompiler .
See Also:   net.sf.jasperreports.engine.design.JasperDesign
See Also:   net.sf.jasperreports.engine.JasperReport
See Also:   net.sf.jasperreports.engine.design.JRDefaultCompiler
See Also:   net.sf.jasperreports.engine.design.JRVerifier
See Also:   net.sf.jasperreports.engine.xml.JRXmlLoader
See Also:   net.sf.jasperreports.engine.xml.JRXmlWriter
See Also:   net.sf.jasperreports.engine.util.JRLoader
See Also:   net.sf.jasperreports.engine.util.JRSaver
author:
   Teodor Danciu (teodord@users.sourceforge.net)
version:
   $Id: JasperCompileManager.java 1828 2007-08-24 13:58:43Z teodord $




Method Summary
public static  JasperReportcompileReport(String sourceFileName)
     Compiles the XML report design file received as parameter, and returns the compiled report design object.
public static  JasperReportcompileReport(InputStream inputStream)
     Compiles the serialized report design object read from the supplied input stream and returns the generated compiled report design object.
public static  JasperReportcompileReport(JasperDesign jasperDesign)
     Compiles the report design object received as parameter and returns the generated compiled report design object.
public static  StringcompileReportToFile(String sourceFileName)
     Compiles the XML report design file specified by the parameter.
public static  voidcompileReportToFile(String sourceFileName, String destFileName)
     Compiles the XML report design file received as the first parameter, placing the result in the file specified by the second parameter. The resulting file will contain a serialized instance of a net.sf.jasperreports.engine.JasperReport object representing the compiled report design.
public static  voidcompileReportToFile(JasperDesign jasperDesign, String destFileName)
     Compiles the report design object received as the first parameter, placing the result in the file specified by the second parameter.
public static  voidcompileReportToStream(InputStream inputStream, OutputStream outputStream)
     Compiles the XML representation of the report design read from the supplied input stream and writes the generated compiled report design object to the output stream specified by the second parameter.
public static  voidcompileReportToStream(JasperDesign jasperDesign, OutputStream outputStream)
     Compiles the report design object represented by the first parameter and writes the generated compiled report design object to the output stream specified by the second parameter.
public static  JREvaluatorloadEvaluator(JasperReport jasperReport, JRDataset dataset)
    
public static  JREvaluatorloadEvaluator(JasperReport jasperReport, JRCrosstab crosstab)
    
public static  JREvaluatorloadEvaluator(JasperReport jasperReport)
    
public static  CollectionverifyDesign(JasperDesign jasperDesign)
     Verifies the validity and consistency of the report design object.
public static  StringwriteReportToXml(JRReport report)
     Generates the XML representation of the report design object supplied as parameter using the "UTF-8" enconding.
public static  StringwriteReportToXmlFile(String sourceFileName)
     Generates the XML representation of the report design loaded from the specified filename.
public static  voidwriteReportToXmlFile(String sourceFileName, String destFileName)
     Generates the XML representation of the report design loaded from the first file parameter and place it in the file specified by the second parameter.
public static  voidwriteReportToXmlFile(JRReport report, String destFileName)
     Generates the XML representation of the report design supplied as the first parameter and place it in the file specified by the second parameter.
public static  voidwriteReportToXmlStream(InputStream inputStream, OutputStream outputStream)
     Generates the XML representation of the serialized report design object read from the supplied input stream abd writes it to the specified output stream, using the "UTF-8" encoding.
public static  voidwriteReportToXmlStream(JRReport report, OutputStream outputStream)
     Generates the XML representation of the report design object supplied as parameter and writes it to the specified output stream, using the "UTF-8" encoding.



Method Detail
compileReport
public static JasperReport compileReport(String sourceFileName) throws JRException(Code)
Compiles the XML report design file received as parameter, and returns the compiled report design object.
Parameters:
  sourceFileName - XML source file name compiled report design object



compileReport
public static JasperReport compileReport(InputStream inputStream) throws JRException(Code)
Compiles the serialized report design object read from the supplied input stream and returns the generated compiled report design object.
Parameters:
  inputStream - XML source input stream compiled report design object



compileReport
public static JasperReport compileReport(JasperDesign jasperDesign) throws JRException(Code)
Compiles the report design object received as parameter and returns the generated compiled report design object.
Parameters:
  jasperDesign - source report design object compiled report design object
See Also:   net.sf.jasperreports.engine.design.JRDefaultCompiler



compileReportToFile
public static String compileReportToFile(String sourceFileName) throws JRException(Code)
Compiles the XML report design file specified by the parameter. The result of this operation is another file that will contain the serialized net.sf.jasperreports.engine.JasperReport object representing the compiled report design, having the same name as the report design as declared in the XML plus the *.jasper extension, located in the same directory as the XML source file.
Parameters:
  sourceFileName - XML source file name resulting file name containing a serialized net.sf.jasperreports.engine.JasperReport object



compileReportToFile
public static void compileReportToFile(String sourceFileName, String destFileName) throws JRException(Code)
Compiles the XML report design file received as the first parameter, placing the result in the file specified by the second parameter. The resulting file will contain a serialized instance of a net.sf.jasperreports.engine.JasperReport object representing the compiled report design.
Parameters:
  sourceFileName - XML source file name
Parameters:
  destFileName - file name to place the result into



compileReportToFile
public static void compileReportToFile(JasperDesign jasperDesign, String destFileName) throws JRException(Code)
Compiles the report design object received as the first parameter, placing the result in the file specified by the second parameter. The resulting file will contain a serialized instance of a net.sf.jasperreports.engine.JasperReport object representing the compiled report design.
Parameters:
  jasperDesign - source report design object
Parameters:
  destFileName - file name to place the compiled report design into



compileReportToStream
public static void compileReportToStream(InputStream inputStream, OutputStream outputStream) throws JRException(Code)
Compiles the XML representation of the report design read from the supplied input stream and writes the generated compiled report design object to the output stream specified by the second parameter.
Parameters:
  inputStream - XML source input stream
Parameters:
  outputStream - output stream to write the compiled report design to



compileReportToStream
public static void compileReportToStream(JasperDesign jasperDesign, OutputStream outputStream) throws JRException(Code)
Compiles the report design object represented by the first parameter and writes the generated compiled report design object to the output stream specified by the second parameter.
Parameters:
  jasperDesign - source report design object
Parameters:
  outputStream - output stream to write the compiled report design to



loadEvaluator
public static JREvaluator loadEvaluator(JasperReport jasperReport, JRDataset dataset) throws JRException(Code)



loadEvaluator
public static JREvaluator loadEvaluator(JasperReport jasperReport, JRCrosstab crosstab) throws JRException(Code)



loadEvaluator
public static JREvaluator loadEvaluator(JasperReport jasperReport) throws JRException(Code)



verifyDesign
public static Collection verifyDesign(JasperDesign jasperDesign)(Code)
Verifies the validity and consistency of the report design object. Returns a collection of JRValidationFault errors , if problems are found in the report design.
Parameters:
  jasperDesign - report design object to verify collection of JRValidationFault JRValidationFault if problems are found
See Also:   net.sf.jasperreports.engine.design.JRVerifier



writeReportToXml
public static String writeReportToXml(JRReport report)(Code)
Generates the XML representation of the report design object supplied as parameter using the "UTF-8" enconding.
Parameters:
  report - source report design object XML representation of the report design
See Also:   net.sf.jasperreports.engine.xml.JRXmlWriter



writeReportToXmlFile
public static String writeReportToXmlFile(String sourceFileName) throws JRException(Code)
Generates the XML representation of the report design loaded from the specified filename. The result of this operation is an "UTF-8" encoded XML file having the same name as the report design, plus the *.jasper.jrxml extension, located in the same directory as the source file.
Parameters:
  sourceFileName - source file name containing the report design object XML representation of the report design



writeReportToXmlFile
public static void writeReportToXmlFile(String sourceFileName, String destFileName) throws JRException(Code)
Generates the XML representation of the report design loaded from the first file parameter and place it in the file specified by the second parameter. The result is "UTF-8" encoded.
Parameters:
  sourceFileName - source file name containing the report design object
Parameters:
  destFileName - output file name to write the XML report design representation to



writeReportToXmlFile
public static void writeReportToXmlFile(JRReport report, String destFileName) throws JRException(Code)
Generates the XML representation of the report design supplied as the first parameter and place it in the file specified by the second parameter. The result is "UTF-8" encoded.
Parameters:
  report - source report design object
Parameters:
  destFileName - output file name to write the XML report design representation to
See Also:   net.sf.jasperreports.engine.xml.JRXmlWriter



writeReportToXmlStream
public static void writeReportToXmlStream(InputStream inputStream, OutputStream outputStream) throws JRException(Code)
Generates the XML representation of the serialized report design object read from the supplied input stream abd writes it to the specified output stream, using the "UTF-8" encoding.
Parameters:
  inputStream - source input stream to read the report design object from
Parameters:
  outputStream - output stream to write the XML report design representation to



writeReportToXmlStream
public static void writeReportToXmlStream(JRReport report, OutputStream outputStream) throws JRException(Code)
Generates the XML representation of the report design object supplied as parameter and writes it to the specified output stream, using the "UTF-8" encoding.
Parameters:
  report - source report design object
Parameters:
  outputStream - output stream to write the XML report design representation to
See Also:   net.sf.jasperreports.engine.xml.JRXmlWriter



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.