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