"Java" uses Eclipse to generate API documentation

Source: Internet
Author: User

It is said that some companies need employees not only to write good procedures, but also to write good API, for some programming God, writing API is a troublesome thing,

In fact, Eclipse can easily generate APIs to trick people, especially bosses you hate that don't write code at all.

Of course, these APIs don't even know what to use, so it's better to have a good explanation of what each one does with your teammates, than to annotate every word in your Java file.

1, for the API you want to build the project or some Java file right-click, select Export ...


2, in the pop-up window found Javadoc, click Next ...


3. Set the permissions of the class to be exported and export the directory.


4. Click Next to still export content


5. Add-encoding utf-8-charset utf-8 in VM option to prevent the exported API from garbled and set the JDK version number.


Click on confirm to be done, generate API, in your project root directory of doc, point open index.html, very tall on! enough to bluff people!


The effect of the API is as follows:



"Java" uses Eclipse to generate API documentation

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.