I am in the process of using Java to read javadocs.
My java object has the attributes, Description Package Name Method Name, Method Description
Is there any existing api that can do this? How can I read the javadoc in such a way that I can extract the above mentioned attributes?
The javadoc tool includes an API for writing custom doclets. These basically get the parsed tree of documentation fragments and they generate some kind of report based on that. The standard doclet generates the HTML pages everyone is familiar with. Your easiest option is likely to write your own doclet.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With