G.5 Files Produced by javadoc
In the last section, we executed the javadoc
tool on the Time.java
file. When javadoc
executes, it displays the name of each HTML file it creates (see Fig. G.7). From the source file, javadoc
created an HTML document for the class named Time.html
. If the source file contains multiple classes or interfaces, a separate HTML document is created for each class. Because class Time
belongs to a package, the page will be created in the directory
docs
com
deitel
The docs
directory was specified with the -d
command line option of javadoc
, and the remaining directories were created based on the package
statement.
The javadoc
tool also creates index.html—the starting HTML page in the documentation. To view the documentation ...
Get Java How to Program, Early Objects, 11th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.