/usr/java/bin/javadoc
[options] files | classesSolaris only. Process declaration and documentation comments in Java source files and produce HTML pages describing the public and protected classes, interfaces, constructors, methods, and fields. javadoc also produces a class hierarchy in tree.html and an index of members in Allnames.html.
-author
Include @author
tags.
-classpath
pathUse path as the search path for class files, overriding $CLASSPATH. path is a colon-separated list of directories. It is better to use -sourcepath
instead of -classpath
.
-d
dirCreate the generated HTML files in dir.
-docencoding
encodingUse encoding for the generated HTML file.
-encoding
encodingThe Java source file is encoded using encoding.
-J
optPass opt to the runtime system. See java for more information.
-nodeprecated
Exclude paragraphs marked with @deprecated
.
-noindex
Don't generate the package index.
-notree
Don't generate the class and interface hierarchy.
-package
Include only package, protected and public classes and members.
-private
Include all classes and members.
-protected
Include only protected and public classes and members. This is the default.
-public
Include only public classes and members.
-sourcepath
pathUse path as the search path for class source files. path is a colon-separated list of directories. If not specified, it defaults to the current -classpath
directory. Running javadoc in the directory with the sources allows you to omit this option.
-verbose
Print additional messages about time spent parsing source files.
-version
Include @version
tags.
The -doctype
option is no longer available. Only HTML documentation may be produced.