There are three methods: 1. Select project, in menu Project->genarate Javadoc 2. Select Project, right-click menu export, select Java under Javadoc, click "Next" Button 3. Select project in the menu file-> Export, select Javadoc under Java, click "Next" button then, you can choose to generate to the Javadoc document content (general selection of public or protected), choose the directory (default), next next, this page all default, and then NEX T next. It is worth noting that if the project is UTF-8 encoded, be sure to add "-encoding UTF-8-charset Utf-8〃" in the extra Javadoc options on this page. Otherwise, the generated Web page Chinese comments are garbled. Click Finish, in the doc directory of the project, there are Javadoc documents.
This article is from the "Love to play Jiangshan" blog, please be sure to keep this source http://javaok.blog.51cto.com/2805157/1586667
Use Eclipse to build your own project's API help documentation