是否可以从JavaDoc创建Java类? [英] Is it possible do create Java classes from JavaDoc?
问题描述
问题在于:目前我的团队为供应商工作,他们从他们的库中提供了一个巨大的JavaDoc规范,但是没有为.jar文件提供存根或实现。
Here is the problem: Currently my team work for a vendor, that provided us a huge JavaDoc spec from their library, but did not provide the .jar file with stubs or implementation.
我们已经与他们交谈,但他们将在2到3周内提供.jar文件。我不想等待这个时间来开始我们的开发,所以这里的问题是:
We already talked to them, but they will provide the .jar files only in 2 to 3 weeks from now. I would not like to wait this time to start our development, so here's the question:
仅给出JavaDoc .html文件,是否有任何工具(免费/开源)我们可以创建一个.jar(或一堆.java / .class文件)来使我们能够编译代码吗?
Given JavaDoc .html files only, are there any tools (free / open source) available so we could create a .jar (or a bunch of .java/.class files) that would enable us to compile our code?
推荐答案
doc2java 似乎完全符合您的要求。
doc2java seems to do exactly what you want.
这篇关于是否可以从JavaDoc创建Java类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!