What is the difference between JasperReport formats?

后端 未结 1 681
生来不讨喜
生来不讨喜 2020-12-09 21:25

I\'ve found four files. Each of them represent JasperReport. There are

A.jasper, A.jrprint, A.jrpxml, A.jrxml

What is the difference betwee

相关标签:
1条回答
  • 2020-12-09 22:10
    • .jrxml is a human readable XML file that contains the report template i.e. report structure and its formatting rules.
    • .jasper is the compiled report template i.e. compiled .jrxml file. You use this file as the template argument in the JasperReports API.
    • .jrprint is a serialized JasperPrint object i.e. an actual report instance i.e. a template that has been filled with data. This file can be deserialized back into a JasperPrint object.
    • .jrpxml is a human readable XML represenatation of a JasperPrint object i.e. an XML version of a template that has been filled with data. This file can be unmarshalled back into a JasperPrint object.
    0 讨论(0)
提交回复
热议问题