开发者

How to parse a javadoc? [closed]

开发者 https://www.devze.com 2023-04-10 13:50 出处:网络
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 5 years ago.

Improve this question

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 a开发者_如何学JAVApi 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号