Creating JavaDoc for a one-off Java class
Writing by shivdev on Tuesday, 15 of February , 2011 at 9:48 pm
Sometimes you might want to create some JavaDoc for some APIs (as a one-off) say for a customer (Doc Team etc.). Simply use the javadoc command line option. Use the -d option to specify the destination for generated HTML content.
~/java/jdk1.6.0_20/bin/javadoc ./src/java/com/domain/api/MyService.java -d ~/tmp/javadoc
Alternatively, from within Eclipse – you can start the JavaDoc wizard and select the class you want generate the JavaDoc for.
File => Export => Java => JavaDoc => Select The Class, Desitination and hit Finish
Leave a comment
- Add this post to
- Del.icio.us -
- Digg -
- -
- Tweet -
-
-
No comments yet.
You must be logged in to post a comment.