mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-11 03:55:31 +03:00
javadoc: add Chinese translation (#6016)
This commit is contained in:
parent
82fccf7761
commit
b9f699c055
16
pages.zh/common/javadoc.md
Normal file
16
pages.zh/common/javadoc.md
Normal file
@ -0,0 +1,16 @@
|
||||
# javadoc
|
||||
|
||||
> 从源代码以 HTML 格式生成 Java API 文档。
|
||||
> 更多信息见:https://docs.oracle.com/javase/9/javadoc/javadoc-command.htm>.
|
||||
|
||||
- 生成 Java 源代码的文档并将结果保存在文件夹中:
|
||||
|
||||
`javadoc -d {{path/to/directory/}} {{path/to/java_source_code}}`
|
||||
|
||||
- 生成指定编码的文档:
|
||||
|
||||
`javadoc -docencoding {{UTF-8}} {{path/to/java_source_code}}`
|
||||
|
||||
- 生成文档时,排除掉某些软件包:
|
||||
|
||||
`javadoc -exclude {{package_list}} {{path/to/java_source_code}}`
|
Loading…
Reference in New Issue
Block a user