值得一题的是,如果你使用eclipse的话,完全不需要背这些标签。当我们在需要注释的地方打上/**之后,再打@符号eclipse会自动显示所支持的标签供我们选择。
同样在生成HTML文档时我们也可以利用eclipse的export功能直接导出,否则用javadoc手工来生成的话是件相当痛苦的事情。
以下列出来javadoc支持的参数:
-author
-bootclasspath
-bottom
-breakiterator
-charset
-classpath
-d
-docencoding
-docfilessubdirs
-doclet
-docletpath
-doctitle
-encoding
-exclude
-excludedocfilessubdir
-extdirs
-footer
-group
-header
-help
-helpfile
-J
-keywords
-link
-linkoffline
-linksource
-locale
-nocomment
-nodeprecated
-nodeprecatedlist
-nohelp
-noindex
-nonavbar
-noqualifier
-nosince
-notimestamp
-notree
-overview
-package
-private
-protected
-public
-quiet
-serialwarn
-source
-sourcepath
-splitindex
-stylesheetfile
-subpackages
-tag
-taglet
-tagletpath
-title
-use
-verbose
-version
-windowtitle
上一页 [1] [2]
责任编辑:小草