/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.
-authorInclude @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.
-nodeprecatedExclude paragraphs marked with @deprecated.
-noindexDon't generate the package index.
-notreeDon't generate the class and interface hierarchy.
-packageInclude only package, protected and public classes and members.
-privateInclude all classes and members.
-protectedInclude only protected and public classes and members. This is the default.
-publicInclude 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.
-verbosePrint additional messages about time spent parsing source files.
-versionInclude @version tags.
The -doctype option is no longer available. Only HTML documentation may be produced.