首页 | 本学科首页   官方微博 | 高级检索  
     检索      

Java中Excel操作类的设计与实现
引用本文:周亦敏,张生.Java中Excel操作类的设计与实现[J].上海理工大学学报,2007,29(1):79-83.
作者姓名:周亦敏  张生
作者单位:上海理工大学,计算机工程学院,上海,200093
摘    要:为解决Java应用程序中复杂报表的打印问题,提出了一种采用JNI和COM技术、在Java中操纵Excel实现强有力报表工具的方法.在Java中利用JNI与COM的通信方式,通过对Excel各COM对象的调用,完成在Java中对Excel的操作;同时将Excel的各COM对象映射为Java对象,调用自行设计开发的一组纯Java API,实现在Java中的复杂报表功能.首先描述了该方案提出的方法和功能,然后给出了系统构架,最后讨论了Java和VC 的实现代码.

关 键 词:应用程序  平台相关接口  组件对象模型
文章编号:1007-6735(2007)01-0079-05
修稿时间:2005-12-08

Design and implementation of controlling Excel in Java
ZHOU Yi-min,ZHANG Sheng.Design and implementation of controlling Excel in Java[J].Journal of University of Shanghai For Science and Technology,2007,29(1):79-83.
Authors:ZHOU Yi-min  ZHANG Sheng
Institution:College of Computer Engineering, University of Shanghai for Science and Technology, Shanghai 200093, China
Abstract:In order to handle the print problem in Java application,a novel method with Java native interface(JNI) and component object model(COM) technology to manipulate Excel in Java and its implementation are presented.In Java application,the communication between JNI and COM,is put into effect through calling COM objects in Excel to complete the Excel manipulation.Further more,each COM object is mapped into Java object and the self designed pure-java API is called to implement complex reports form in Java application.The motivation and functions of the presented system are described,and the system architecture is provided.The implementation of Java with VC code is also discussed.
Keywords:Java  Excel
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《上海理工大学学报》浏览原始摘要信息
点击此处可从《上海理工大学学报》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号