Javadocs link to external javadoc

喜你入骨 提交于 2019-11-28 01:01:34

问题


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


回答1:


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, https://docs.oracle.com/javase/7/docs/api/).



来源:https://stackoverflow.com/questions/17580248/javadocs-link-to-external-javadoc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!