Is it possible to integrate JDK own documentation in my project documentation?
So I basically want, in example, the java.lang.String
javadoc linked to my own documentation.
You can use the @see and {@link} annotation to refer to the javadoc classes.
/**
* {@link java.lang.String}
* @see java.lang.String
*/
If you want a link to the online javadoc, use this:
/**
* @see <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html">java.lang.String</a>
*/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.