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
Devon_C_Miller
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/).
来源:https://stackoverflow.com/questions/17580248/javadocs-link-to-external-javadoc