生成javadoc
1.From the main menu, select Tools | Generate JavaDoc.
2.In the dialog that opens, select a scope — a set of files or directories for which you want to generate the reference, and set the output directory where the generated documentation will be placed.
3.The Output directory is a mandatory field: you cannot generate a Javadoc file as long it is empty.
-
Use the slider to define the visibility level of members that will be included in the generated documentation. Select one of the following options:
-
Private: to include all classes and members to the reference.
-
Package: to include all classes and members except the private ones.
-
Protected: to include public and protected classes and members.
-
Public: to include only public classes and members.
4.You can specify a locale (for example en_US.UTF-8), command line arguments, and the maximum heap size.
5.Click OK to generate the reference.
排除故障
javadoc: 错误 - 格式错误的语言环境名称: en_US.UTF-8
清除locale字段,添加
-encoding utf8 -docencoding utf8 -charset utf8