Linking to an external URL in Javadoc?

ripper234 picture ripper234 · Jul 4, 2009 · Viewed 258k times · Source

Something like:

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

Answer

aem999 picture aem999 · May 21, 2012

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