extends
Doc
,
DocErrorReporter
Deprecated, for removal: This API element is subject to removal in a future version.
The declarations in this package have been superseded by those in the package
jdk.javadoc.doclet
. For more information, see the
Migration Guide
in the documentation for that package.
表示一次运行javadoc的程序结构信息的根。
从该根可以提取所有其他程序结构信息。
还表示命令行信息 - 用户指定的包,类和选项。
从以下版本开始:
声明方法的接口 com.sun.javadoc.
Doc
commentText
,
compareTo
,
firstSentenceTags
,
getRawCommentText
,
inlineTags
,
isAnnotationType
,
isAnnotationTypeElement
,
isClass
,
isConstructor
,
isEnum
,
isEnumConstant
,
isError
,
isException
,
isField
,
isIncluded
,
isInterface
,
isMethod
,
isOrdinaryClass
,
name
,
position
,
seeTags
,
setRawCommentText
,
tags
,
tags
printError
,
printError
,
printNotice
,
printNotice
,
printWarning
,
printWarning
options
String[][] options()
Deprecated, for removal: This API element is subject to removal in a future version.
命令行选项。
例如,给定:
javadoc -foo this that -bar other ...
此方法将返回:
options()[0][0] = "-foo"
options()[0][1] = "this"
options()[0][2] = "that"
options()[1][0] = "-bar"
options()[1][1] = "other"
一组String数组。
specifiedPackages
PackageDoc[] specifiedPackages()
Deprecated, for removal: This API element is subject to removal in a future version.
在命令行上返回包
specified
。
如果使用
-subpackages
和
-exclude
选项,则返回所有未排除的包。
在命令行上指定的包。
specifiedClasses
ClassDoc[] specifiedClasses()
Deprecated, for removal: This API element is subject to removal in a future version.
上将
类和接口
specified
作为源文件名返回。
命令行中指定的类和接口。
classes
ClassDoc[] classes()
Deprecated, for removal: This API element is subject to removal in a future version.
返回所有包中的
included
类和接口。
包括所有包中的类和接口。
packageNamed
PackageDoc packageNamed(String name)
Deprecated, for removal: This API element is subject to removal in a future version.
返回指定包名称的PackageDoc。
name
- 包名称
包含指定包的PackageDoc,如果未引用此包,则返回null。
classNamed
ClassDoc classNamed(String qualifiedName)
Deprecated, for removal: This API element is subject to removal in a future version.
返回指定类或接口名称的ClassDoc。
qualifiedName
-
qualified
类或包名称
包含指定类的ClassDoc,如果未引用此类,则返回null。