检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]中国科学院国家科学图书馆,北京100190 [2]中国科学技术大学,安徽合肥230026
出 处:《计算机技术与发展》2013年第2期170-172,176,共4页Computer Technology and Development
基 金:安徽省省级教学研究计划项目(20100028)
摘 要:DocFetcher是一个用Java语言编写的优秀开源桌面搜索工具,该工具支持的文档格式有PDF、Word、PowerPoint等。作者对DocFetcher进行了剪裁,编写了创建索引和检索索引程序。e划通是用Visual C++开发的,为了在e划通中集成DocFetcher,就需要采用C语言调用Java的技术(Java Native Interface,简称JNI)来实现。文中首先介绍了JNI,接着对该桌面搜索工具JNI中C部分的程序进行了说明,分为三部分,即创建Java虚拟机、创建索引、检索索引,文中列出了主要的程序代码,并且进行了详细说明。现在,该桌面搜索工具应用在e划通2.5完全版中,功能使用正确,运行稳定。采用JNI作为数据交换的桥梁,会给软件的实现带来极大的灵活性。C语言可以在完全体现自身优势的情况下,整合Java语言开发的软件,更大范围地实现了软件重用。DocFetcher is an excellent open source desktop search tool written in the Java language, the tool supports document formats such as PDF,Word and PowerPoint. DocFetcher is trimmed, writing the creation index and retrieval index program. E-pass was developed using Visual C++, in order to integrate DocFetcher with e-pass, need to use C programming language called Java technology (Java N- ative Interface,referred to as JNI) implementations. It first describes the JNI,then describes the part C of JNI program in the desktop search tool, is divided into three parts, creating Java virtual machine, creating index, retrieving index. It lists the main program code with detailed description. Now, the desktop search tool has applied in the e-pass 2.5 full version, features using correctly, stable operation. U- sing JNI as a bridge of data exchange, will give great flexibility of software. C language can be entirely in case of its own advantages,in- tegrates software developed by Java language, greater scope to achieve software reuse.
分 类 号:TP39[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.145.42.128