0

I have few java classes which contain the javadoc comments . I want to extract the comments for some purpose. Is there any way to extract those comments ?

Naveen
  • 45
  • 3
  • 11
  • The answer: http://stackoverflow.com/questions/4592396/how-to-generate-javadoc-from-command-line – lemonWorld Sep 24 '13 at 06:27
  • I Believe this can help you my friend [http://stackoverflow.com/questions/8504013/how-to-read-javadoc-comments-by-reflection][1] [1]: http://stackoverflow.com/questions/8504013/how-to-read-javadoc-comments-by-reflection – Amin AmiriDarban Sep 24 '13 at 06:41

1 Answers1

3

Look at the doclet API. Here is a simple tutorial from oracle. The api will allow you to scan the metadata tags and also get the commentText.

nikolavp
  • 173
  • 5