当前位置: 技术问答>java相关
javadoc的问题
来源: 互联网 发布时间:2015-03-16
本文导语: 如何将javadoc命令生成的文件放到一个文件夹里,用javadoc命令实现。 | -d directory Specifies the destination directory where javadoc saves the generated HTML files. (The "d" means "destination.") Omitting this...
如何将javadoc命令生成的文件放到一个文件夹里,用javadoc命令实现。
|
-d directory
Specifies the destination directory where javadoc saves the generated HTML files. (The "d" means "destination.") Omitting this option causes the files to be saved to the current directory. The value directory can be absolute or relative to the current working directory. For example, the following generates the documentation for the com.mypackage package and saves the results in the C:userdoc directory:
C:> javadoc -d userdoc com.mypackage
Specifies the destination directory where javadoc saves the generated HTML files. (The "d" means "destination.") Omitting this option causes the files to be saved to the current directory. The value directory can be absolute or relative to the current working directory. For example, the following generates the documentation for the com.mypackage package and saves the results in the C:userdoc directory:
C:> javadoc -d userdoc com.mypackage
|
javadoc -d