K.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. K.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, so the page will be created in the directory C:\jhtp6\docs\com\deitel\jhtp3\appenH (on Windows platforms). The C:\jhtp6\docs directory was specified with the -d command line option of javadoc, and the remaining directories were created based on the package statement.

Another file that javadoc creates is index.html. This ...

Get Java™ How to Program, Seventh Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.