patternjavaCritical
Linking to an external URL in Javadoc?
Viewed 0 times
externalurllinkingjavadoc
Problem
Something like:
/**
* See {@linktourl http://google.com}
*/Solution
This creates a "See Also" heading containing the link, i.e.:
will render as:
See Also:
http://google.com
whereas this:
will create an in-line link:
See http://google.com
/**
* @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.