public interface RootDoc extends Doc, DocErrorReporter
Modifier and Type | Method and Description |
---|---|
ClassDoc[] |
classes()
Return the
included
classes and interfaces in all packages.
|
ClassDoc |
classNamed(String qualifiedName)
Return a ClassDoc for the specified class or interface name.
|
String[][] |
options()
Command line options.
|
PackageDoc |
packageNamed(String name)
Return a PackageDoc for the specified package name.
|
ClassDoc[] |
specifiedClasses()
Return the classes and interfaces
specified
as source file names on the command line.
|
PackageDoc[] |
specifiedPackages()
Return the packages
specified
on the command line.
|
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
String[][] options()
For example, given:
javadoc -foo this that -bar other ...this method will return:
options()[0][0] = "-foo" options()[0][1] = "this" options()[0][2] = "that" options()[1][0] = "-bar" options()[1][1] = "other"
PackageDoc[] specifiedPackages()
-subpackages
and -exclude
options
are used, return all the non-excluded packages.ClassDoc[] specifiedClasses()
ClassDoc[] classes()
PackageDoc packageNamed(String name)
name
- package name Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2016, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.