COM 1204 Object-Oriented Design - Spring 2001 - Javadoc for API generation
Professor Futrelle -- College of Computer Science, Northeastern U., Boston, MA
(Version of 4/1/2001)
Javadoc is a tool developed by Sun Microsystems that generates a set of coordinated
web pages describing the API for the code you write. The best documentation on Javadoc
appears to be Sun's own, since other people have not felt the need to try to create
something better, as they do with many other systems.
- The primary page for Javadoc is this one:
http://java.sun.com/j2se/javadoc/index.html,
with links to many others.
- One of the primary pages linked to from the main page above, is the
FAQ
- Another is a page on
how to write Javadoc comments:
- A systematic approach to writing API documentation
is described here, with
suggested standards for writing descriptions of classes,
functions, arguments, variables, etc.
- The first example of javadoc for COM1204 Spring 2001 can be found by looking
at the
Demo1 project page, which links to the source code for its three
class files for a tiny subset of a phone system as well as linking to the
Javadoc-generated API pages for the code.
Go to COM1204 home page
Return to Prof. Futrelle's home page