The javadoc Tool (Documentation Generator)The javadoc tool creates an HTML file based on the tags that are embedded in the /** */ type of comments within a Java source file. These HTML files are used to store information about the classes and methods that you can easily view with any Web browser. Here is the format of the javadoc command: javadoc [options] [ packagenames ] [sourcefiles] [classnames] [@files] javadoc was actually used by the creators of the SDK to create the Java API Documentation. The javadoc homepage can be found at http://java.sun.com/products/jdk/javadoc/index.html Many options can be used by the javadoc command. Tables B.4 and B.5 attempt to describe the most important options. For a complete list, type javadoc on the command line. Table B.4. javadoc Options
Table B.5. javadoc Tags
|