如何从源文件中提取JavaDoc注释 [英] How to extract JavaDoc comments from the source files

查看:151
本文介绍了如何从源文件中提取JavaDoc注释的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从Java源文件中提取JavaDoc注释?以及按照我的意愿格式化它们?

How do I extract the JavaDoc comments from the Java source files ? as well as format them as I want to?

推荐答案

请参见

See the Doclets section of Javadoc Tool Home Page for the standard approach.

Doclets 标准doclet生成HTML,并内置在Javadoc工具中.这里列出了Java软件开发的其他doclet. ..

Doclets The standard doclet generates HTML and is built into the Javadoc tool. Other doclets that Java Software has developed are listed here. ..

特别参见示例-将标准Doclet & Doclet API .

See particularly Example - Subclassing the Standard Doclet & the Doclet API.

这篇关于如何从源文件中提取JavaDoc注释的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆