Linking to an external URL in Javadoc?

Viewed 300197

Something like:

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

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="http://www.google.com">Google</a>

Related