当前位置: 技术问答>java相关
javadoc.exe可以制作一个类的文档,可是如何在每个方法的下面加入此方法的说明呢?
来源: 互联网 发布时间:2015-02-23
本文导语: 应该怎么在JAVA文件里加上注解,格式是什么样的?我在JAVA文件里加了“//,/* */”,怎么不能提取出来?还请前辈指点。谢谢了。 | javadoc: No packages or classes specified. usage: javadoc [options]...
应该怎么在JAVA文件里加上注解,格式是什么样的?我在JAVA文件里加了“//,/* */”,怎么不能提取出来?还请前辈指点。谢谢了。
|
javadoc: No packages or classes specified.
usage: javadoc [options] [packagenames] [sourcefiles] [classnames] [@files]
-overview Read overview documentation from HTML file
-public Show only public classes and members
-protected Show protected/public classes and members (default)
-package Show package/protected/public classes and members
-private Show all classes and members
-help Display command line options
-doclet Generate output via alternate doclet
-docletpath Specify where to find doclet class files
-1.1 Generate output using JDK 1.1 emulating doclet
-sourcepath Specify where to find source files
-classpath Specify where to find user class files
-bootclasspath Override location of class files loaded
by the bootstrap class loader
-extdirs Override location of installed extensions
-verbose Output messages about what Javadoc is doing
-locale Locale to be used, e.g. en_US or en_US_WIN
-encoding Source file encoding name
-J Pass directly to the runtime system
Provided by Standard doclet:
-d Destination directory for output files
-use Create class and package usage pages
-version Include @version paragraphs
-author Include @author paragraphs
-splitindex Split index into one file per letter
-windowtitle Browser window title for the documenation
-doctitle Include title for the package index(first) page
-header Include header text for each page
-footer Include footer text for each page
-bottom Include bottom text for each page
-link Create links to javadoc output at
-linkoffline Link to docs at using package list at
-group :.. Group specified packages together in overview page
-nodeprecated Do not include @deprecated information
-nodeprecatedlist Do not generate deprecated list
-notree Do not generate class hierarchy
-noindex Do not generate index
-nohelp Do not generate help link
-nonavbar Do not generate navigation bar
-serialwarn Generate warning about @serial tag
-charset Charset for cross-platform viewing of generated documentation.
usage: javadoc [options] [packagenames] [sourcefiles] [classnames] [@files]
-overview Read overview documentation from HTML file
-public Show only public classes and members
-protected Show protected/public classes and members (default)
-package Show package/protected/public classes and members
-private Show all classes and members
-help Display command line options
-doclet Generate output via alternate doclet
-docletpath Specify where to find doclet class files
-1.1 Generate output using JDK 1.1 emulating doclet
-sourcepath Specify where to find source files
-classpath Specify where to find user class files
-bootclasspath Override location of class files loaded
by the bootstrap class loader
-extdirs Override location of installed extensions
-verbose Output messages about what Javadoc is doing
-locale Locale to be used, e.g. en_US or en_US_WIN
-encoding Source file encoding name
-J Pass directly to the runtime system
Provided by Standard doclet:
-d Destination directory for output files
-use Create class and package usage pages
-version Include @version paragraphs
-author Include @author paragraphs
-splitindex Split index into one file per letter
-windowtitle Browser window title for the documenation
-doctitle Include title for the package index(first) page
-header Include header text for each page
-footer Include footer text for each page
-bottom Include bottom text for each page
-link Create links to javadoc output at
-linkoffline Link to docs at using package list at
-group :.. Group specified packages together in overview page
-nodeprecated Do not include @deprecated information
-nodeprecatedlist Do not generate deprecated list
-notree Do not generate class hierarchy
-noindex Do not generate index
-nohelp Do not generate help link
-nonavbar Do not generate navigation bar
-serialwarn Generate warning about @serial tag
-charset Charset for cross-platform viewing of generated documentation.
|
我写错了,
@param arg1 说明1
@param arg2 说明2
@param arg1 说明1
@param arg2 说明2
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。