Class JavadocTool.PackageTable
java.lang.Object
gw.gosudoc.com.sun.tools.javadoc.main.JavadocTool.PackageTable
- Enclosing class:
- JavadocTool
A table to manage included and excluded packages.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<String,JavadocTool.PackageTable.Entry> private final JavaFileManagerprivate final JavaFileManager.Locationprivate final Set<JavaFileObject.Kind> -
Constructor Summary
ConstructorsConstructorDescriptionCreates a table to manage included and excluded packages. -
Method Summary
Modifier and TypeMethodDescriptionprivate JavadocTool.PackageTable.Entry(package private) com.sun.tools.javac.util.List<JavaFileObject>Returns the set of source files for a package.Returns the aggregate set of included packages.private JavaFileManager.LocationgetLocation(String packageName) private StringgetPackageName(String name) private StringgetSimpleName(String name) (package private) JavadocTool.PackageTablepackages(Collection<String> packageNames) (package private) JavadocTool.PackageTablesubpackages(Collection<String> packageNames, Collection<String> excludePackageNames)
-
Field Details
-
entries
-
includedPackages
-
fm
-
location
-
sourceKinds
-
-
Constructor Details
-
PackageTable
PackageTable(JavaFileManager fm, JavaFileManager.Location locn) Creates a table to manage included and excluded packages.- Parameters:
fm- The file manager used to locate source fileslocn- the location used to locate source files
-
-
Method Details
-
packages
-
subpackages
JavadocTool.PackageTable subpackages(Collection<String> packageNames, Collection<String> excludePackageNames) throws IOException - Throws:
IOException
-
getIncludedPackages
Returns the aggregate set of included packages.- Returns:
- the aggregate set of included packages
-
getFiles
Returns the set of source files for a package.- Parameters:
packageName- the specified package- Returns:
- the set of file objects for the specified package
- Throws:
IOException- if an error occurs while accessing the files
-
getLocation
- Throws:
IOException
-
getEntry
-
getPackageName
-
getSimpleName
-