Javadocs链接到外部javadoc [英] Javadocs link to external javadoc
本文介绍了Javadocs链接到外部javadoc的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
解决对标准Java类的引用需要你有Java文档的本地副本。
JDK 7 JavaDocs可用这里附加资源
然后运行javadoc,使用 -link
选项。
它需要您要引用的文档的URL(例如, http: //docs.oracle.com/javase/7/docs/api/ )。
I am generating Javadocs. Now I would like to automatically link all library- and JDK classes to the official docs of that lib or JDK. Is that possible, and if so, which command line args do i need
解决方案
Resolving references to the standard Java classes requires you have a local copy of the Java Docs.
The JDK 7 JavaDocs are available here under Additional Resources
Then, run javadoc, with the -link
option.
It takes the URL of the documents you want to reference (ex, http://docs.oracle.com/javase/7/docs/api/).
这篇关于Javadocs链接到外部javadoc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文