JasperReport格式有什么区别? [英] What is the difference between JasperReport formats?

查看:147
本文介绍了JasperReport格式有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我找到了四个文件。他们每个人都代表JasperReport。有

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

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

它们之间有什么区别?每个人的目的是什么?

What is the difference between them? And what are the purpose of each of them?

推荐答案


  • .jrxml 是一个人类可读的XML文件,其中包含报告模板即报告结构及其格式规则。

  • .jasper 编译报告模板,即编译的.jrxml文件。您可以将此文件用作JasperReports API中的模板参数。

  • .jrprint 是序列化的 JasperPrint对象,即实际的报表实例即一个已填充数据的模板。此文件可以反序列化为 JasperPrint对象

  • jrpxml JasperPrint的人类可读XML表示形式对象即已填充数据的模板的XML版本。可以将此文件解组回 JasperPrint对象

    • .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.
    • 这篇关于JasperReport格式有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆