1. Select the project for which you want to generate a Java Doc, right-click the project, and choose export from the shortcut menu. The following dialog box is displayed;
2. Select Java> Javadoc and click Next. The following dialog box is displayed;
Click Configure ...] Click to generate Java doc javadoc.exe]
In the select types for which javadoc will be generated list, selectProgramPackage;
In the create javadoc for members with visibility area, select the Java Doc generation level:
[Private]: Generate Java Doc for all class members;
[Package]: generates Java Doc for all classes and members except private classes and private members;
[Protected]: generate a Java Doc for the protection class and common classes and their corresponding members;
[Public]: Generate Java Doc for common classes and members.
In this article, select public ].
Use a standard doclet to generate a Java Doc in HTML Format
Select the output directory of Java Doc. The default project directory is displayed in the [Doc] folder.
3. Click the next button. The following dialog box is displayed. Use the default settings:
4. Click 【next.pdf to set relevant parameters for javadoc.exe:
Enter the character set used by Java Doc in the VM options text box: This document uses the UTF-8 character set;
Define the custom tag to be output, which is determined by the custom tag. The format is described as follows.
For example, to customize the annotation Tag: @ descripton, you can define the parameter as follows:
-Tag Description: A: "description": keywords that can be recognized by javadoc.exe in the case of tag; description is a custom tag name; A indicates that all comments are displayed; "Description" indicates the text used to generate the Java Doc document.
Note: The order defined here determines the order in Java Doc.