HiveBrain v1.2.0
Get Started
← Back to all entries
patternjavaCritical

Linking to an external URL in Javadoc?

Submitted by: @import:stackoverflow-api··
0
Viewed 0 times
externalurllinkingjavadoc

Problem

Something like:

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

Solution

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

/**
 * @see http://google.com
 */


will render as:


See Also:

           http://google.com

whereas this:

/**
 * See http://google.com
 */


will create an in-line link:


See http://google.com

Code Snippets

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

Context

Stack Overflow Q#1082050, score: 1463

Revisions (0)

No revisions yet.