谁能给我举个javadoc标签的例子?
我不太明白如何在代码中使用它
发布于 2010-06-28 14:17:49
javadoc documentation有几个很好的例子。它总是指向文档的根目录,所以如果您想在每个页面上包含一些内容,可以使用它来查找javadoc根目录,因为每个页面的相对路径都是不同的
例如,要在每个生成的文档页面的顶部包含您公司的徽标,您可以将logo.png放在文档的根目录中,然后添加:
<img src="{@docRoot}/logo.png">添加到javadoc标头
发布于 2013-01-02 18:29:18
下面是几个标签
@author //this will give name of author
@see //it is used to point to refrence
@since //this will give from which version it is included
@link // this is used to provide link to another file示例:http://www.docjar.net/html/api/java/util/Collections.java.html
单据标准:http://www.oracle.com/technetwork/java/javase/documentation/index-137868.html#tag
https://stackoverflow.com/questions/3130410
复制相似问题