eclipse generated using the documentation comments --javadoc

1, directed to a single JAVA file, in a terminal window, use javadoc .java file name to generate documentation comments;

2, generate documentation comments in eclipse:

  ① Click [Project] menu in the menu bar of the eclipse, after the menu expands, click Generate Javadoc ...];

  ② Select in the resulting window

      ------------------------ to generate Javadoc project;

      ------------------------ generated content level Javadoc, the default is public, if you choose private, then all the content will be generated;

      ------------------------ select doc generation position, the proposed project under select the default directory, do not change;

 

 

 

      ------------------------ Click [Next], check the [Document title], fill in the document title;

 

 

      ------------------------ Click [Next], select JRE version, click [Finish];

 

 

Note: In VM options box, type -encoding UTF-8 -charset UTF-8 can solve the "coding GBK unmappable character" issue

 

Guess you like

Origin www.cnblogs.com/R-FLZ-C/p/11567936.html