tags:

views:

101

answers:

4

I want to generate the API for all the classes that are there in my Java 1.6 application. It should look like regular Java 1.5 API documentation.

+1  A: 

With the javadoc command? See the documentation. You can also use ant's javadoc task if you want.

Matthew Flaschen
Answers the wrong question ...
Stephen C
@Stephen, he changed the question significantly since I answered.
Matthew Flaschen
@Matthew - Don't blame the OP. It was @fuzzy lollipop's "helpfully" edited version of the question that you were answering.
Stephen C
at least I got them to really state what they wanted, the original question didn't make any sense to begin with.
fuzzy lollipop
+1  A: 

Are you using an IDE? If you are using Eclipse you can select the project you want to generate java docs on and from the menu select Project, Generate Javadoc...

leif
Answers the wrong question ...
Stephen C
+2  A: 

You can’t produce Javadoc from jars of class files, not even rudimentary Javadoc. You can only generate Javadoc from source files, because that is where the Javadoc lives.

fuzzy lollipop
A: 
TheLQ
*"...even then your only going to get method signatures"*, and the signatures probably won't even include the original argument names!
Stephen C