Developer community
0 votes
1.4k views
asked by Geek (15.3k points) 17 43 67 | 1.4k views

1 Answer

0 votes
 
The javadoc tool generates HTML documentation from Java source files.
 
The javadoc tool locates and parses the documentation comments present in a Java source file and produces a set of HTML pages describing the class, methods, and variables present in the source file.
 
The syntax to use the javadoc tool is:
 
javadoc [options] [packagenames] [sourcefilenames] [-subpackages pkg1:pkg2:...] [@argfiles]
options refers to the command line options that you can pass to the javadoc tool.
packagenames refers to multiple packages, separated by spaces, that javadoc should use to generate documentation. For example:
packagesnames java.lang java.lang.reflect java.awt
sourcefilenames refers to the source files for which javadoc needs to generate documentation.
-subpackages: Generates documentation from the source files in specified packages and recursively in their subpackages.
@argfiles: Refers to a file that contains Javadoc options.
`
 
answered by Advisor (8.4k points) 10 15 18

Related questions

0 votes
1 answer
asked by rock Expert (15k points) 15 23 31 | 1.5k views
0 votes
1 answer
asked by felin Advisor (8.4k points) 10 15 18 | 9 views
0 votes
1 answer
asked by rock Expert (15k points) 15 23 31 | 1.4k views
0 votes
1 answer
asked by rock Expert (15k points) 15 23 31 | 29 views
0 votes
1 answer
asked by smith Geek (15.3k points) 17 43 67 | 11 views
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

Categories


C Books Guide and List
C++ Books Guide and List
Best Java Books

3.8k questions

4k answers

117 comments

10.7k users

3,754 questions
4,046 answers
117 comments
10,709 users