javadoc 生成常用参数
javadoc generate:
系统中文支持不好:
[]里的是参数
我使用eclipse->Project->Generate Javadoc 来自动生成的文档,没有用cmd控制台。
下面时经常用到参数
1.设置生成的语言,我的默认是中文,但浏览器不支持(乱码),加这个参数可以设置其语言为英语
at the vm parameter's first write [-locale en_US], then the javadoc's language will become english
2.下面时以utf-8进行编码,解决显示问题
at the vm parameter's add [-encoding UTF-8 -charset UTF-8], then the document will encoding in utf-8
3.下面时显示那些类型的变量,默认好像只显示protected,和public,在这里可以设置
at the vm parameter's add [-private | -public| -protected], express display while level variable