检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]哈尔滨工程大学计算机科学与技术学院,黑龙江哈尔滨150001
出 处:《应用科技》2010年第10期9-13,共5页Applied Science and Technology
摘 要:针对传统数据导出方法存在处理文档不统一、执行时间长、实现复杂、同步性差等问题,提出运用外观模式,把处理Word文档的JACOB包和处理Excel文档的POI包封装起来,组成一个新的JP类包,并阐述该JP类包封装的具体过程及实现代码.实验结果表明,该JP类包实现了数据导出的同步性,解决了传统的一次只能调用一种文档处理方式的情况,提高了数据导出的速度,极大方便了用户日常工作中的常用操作.The traditional methods of data export have some disadvantages, including dealing with documents disunity, long execution time, complicated implementation and poor synchronization. To overcome these problems, a new method using JP class package is presented. With facade pattern, the JP class package consists of JACOB (JA- VA-COM bridge) package dealing with word documents and POI (poor obfuscation implementation) package dealing with Excel documents. And then concrete procedure and implementation code of encapsulation with JP class package are explained. Experimental results showed that with JP class package the synchronicity of data export was implemented, traditional document processing mode which can only deal with one kind of documents every time was solved, the speed of data export was improved, and the user's common operations in daily work was largely facilitated.
关 键 词:JP类包 外观模式 数据导出 JACOB POI
分 类 号:TP317[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15