Create API documentation using javadoc

Source: Internet
Author: User
To create api documents using javadoc, you must first develop good programming habits.
1. At the beginning of the program, the beginning of the variable, and the annotations are in the following format:
/**
*
*/

Then you can use javadoc to create a document.
1. Create a list of packages for document creation
Create a new packagelist.txt file with the following content:
Com. tju. msnrl. guard. controller
Com. tju. msnrl. guard. db. util
Com. tju. msnrl. guard. db
Com. tju. msnrl. guard. exception
Com. tju. msnrl. guard. util. page
Com. tju. msnrl. guard. util
Com. tju. msnrl. guard. log4j
Com. tju. msnrl. guard. taglib
Com. tju. msnrl. guard. template

2. Run the following command in cmd:
Javadoc-d apidoc @packagelist.txt-version-author-footer School of software, Tianjin University-header MSNRL

Then you can use pai_^.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.