使用/* ...... /来注释代码,解释方法参数,返回参数,类的功能及用法.

常用的注释标签:

@author 作者
@version 版本
@see 参考转向
@param 参数说明
@return 返回值说明
@exception 异常说明
导出文档方法:

在菜单栏选择Tools->Gerenate JavaDoc;

在弹出框内填写输出路径;

点击确认;

中文乱码解决方法:

在 Other command line arguments 中输入: -encoding utf-8 -charset utf-8

文/SodaZhcn(简书作者)
原文链接:http://www.jianshu.com/p/26ec520cda5f
著作权归作者所有,转载请联系作者获得授权,并标注“简书作者”。

相关文章:

  • 2021-12-10
  • 2022-12-23
  • 2021-06-11
  • 2021-04-28
  • 2022-01-03
  • 2021-08-25
  • 2021-08-14
  • 2021-10-18
猜你喜欢
  • 2022-12-23
  • 2021-09-13
  • 2021-08-26
  • 2022-01-01
  • 2021-10-18
相关资源
相似解决方案