链接到Javadoc中的外部URL? [英] Linking to an external URL in Javadoc?

查看:102
本文介绍了链接到Javadoc中的外部URL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

类似于:

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


推荐答案

这会创建一个See也是包含链接的标题,即:

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

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

将呈现为:


另请参阅:

            ; http://google.com


而这:

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

将创建一个内联链接:


请参阅 http://google.com

这篇关于链接到Javadoc中的外部URL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆