Linking to an external URL in Javadoc?

2021-6-3 anglehua

Something like:

 * See {@linktourl}

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

 * @see <a href=""></a>

will render as:

See Also:

whereas this:

 * See <a href=""></a>

will create an in-line link:


Taken from the javadoc spec

@see <a href="URL#value">label</a> : Adds a link as defined by URL#value. The URL#value is a relative or absolute URL. The Javadoc tool distinguishes this from other cases by looking for a less-than symbol (<) as the first character.

For example : @see <a href="">Google</a>


Powered by emlog 京ICP备15036472号-3 sitemap