【问题标题】:Implementing JavaHelp Search with the NetBeans IDE使用 NetBeans IDE 实现 JavaHelp 搜索
【发布时间】:2013-04-28 12:01:04
【问题描述】:

我已经集成了 javahelp 在线文档 使用 NetBeans IDE 进入我的桌面应用程序。 我也有主题文件和导航文件。 未安装 javahelp 文件夹,而是安装了 bin 文件 从文件夹复制的内容作为库文件添加到应用程序中。 主题文件和导航文件已添加到项目源文件夹中。

大部分工作都是基于本网站的教程 http://weblogs.java.net/blog/pkeegan/archive/2007/05/javahelp_and_sw.html

现在我想实现 javahelp 搜索引擎 来自 NetBeans IDE

这样搜索引擎就可以自动创建了。 而不是从命令提示符。

任何建议。

【问题讨论】:

    标签: java netbeans javahelp


    【解决方案1】:

    您似乎需要编写一个使用com.sun.java.help.search.Indexer 类的程序。它的main() 方法是在您运行jhindexer 命令时执行的。

    Indexer 类没有官方文档,但这里有一些提示(来自 HelpSetMaker SF 项目的文档):http://helpsetmaker.sourceforge.net/userdoc/doc55.html

    HelpSetMaker 项目的完整(GPL 许可)源代码在这里:http://publicgit.cantamen.de/?p=helpsetmaker。特别是查看OutputCreatorThread.javacreateHelpsetSearchIndex() 方法。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-12-11
      • 2011-04-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多