ripper234 ripper234 - 2 months ago 9
Java Question

Linking to an external URL in Javadoc?

Something like:

/**
* See {@linktourl http://google.com}
*/

Answer

This creates a "See Also" heading containing the link, i.e.:

/**
 * @see <a href="http://google.com">http://google.com</a>
 */

will render as:

See Also:
           http://google.com


whereas this:

/**
 * See <a href="http://google.com">http://google.com</a>
 */

will create an in-line link:

See http://google.com

Comments