tags:

views:

200

answers:

4

Is there a way to embed images into my JavaDoc? Basically i want to include some UML diagrams explaining the hierarchy of my classes in some of the documentation.

Thanks!

+6  A: 

Yes.

The documentation explains how to embed arbitrary images to javadoc documentation.

If you want to generate UML class diagrams from your Java source, have a look at the UMLGraph doclet.

laalto
+1 thanks a lot. I need to learn and use this!!
KLE
Also this article on using UML Graph http://java.dzone.com/articles/reverse-engineer-source-code-u
pjp
+8  A: 

Check out this section of the Javadoc documentation, which explains how to embed images in your Javadoc.

Also, here is an article describing how to reverse engineer UML diagrams and embed them in your Javadoc using UMLGraph.

Adamski
A: 

This article explains how it can be done by placing your images in a folder accessible to the javadoc tool.

Vincent Ramdhanie
A: 

ApiViz is a nice doclet too.

elhoim