eclipse可以直接导出javadoc 文档(HTML),但是无法导出word版本。可使用此工具,使用如下:
1.下载DocFlex/Doclet 下载地址 http://www.filigris.com/downloads/
2.ecplise->project->generate javadoc
Use custom doclet
Doclet name: com.docflex.javadoc.Doclet
Doclet class path: E:\download\Java\javadoc\docflex\docflex-doclet-1.6.1\lib\docflex-doclet.jar
VM options: -J-Xmx512m -encoding utf-8
Extra Javadoc options:
-template E:\download\Java\javadoc\docflex\docflex-javadoc-1.6.1\templates\javadoc\PlainDoc.tpl
-format RTF
-nodialog
-launchviewer=false
-f c:\test\javadoc\aaa.rtf
3.用word将rtf文件打开,另存为doc或docx
1