Linking to an external URL in Javadoc?

后端 未结 4 2141
孤街浪徒
孤街浪徒 2020-12-12 09:07

Something like:

/**
 * See {@linktourl http://google.com}
 */
4条回答
  •  半阙折子戏
    2020-12-12 09:31

    Taken from the javadoc spec

    @see label : 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 Google

提交回复
热议问题