Package org.apache.maven.jxr.pacman
Class PackageManager
java.lang.Object
org.apache.maven.jxr.pacman.PackageManager
Given a list of directories, parse them out and store them as rendered
packages, classes, imports, etc.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate PackageTypeThe default Java package.private String[]The list of exclude patterns to use.private final FileManagerprivate String[]The list of include patterns to use.private static final org.slf4j.Loggerprivate Map<String, PackageType> All the packages that have been parsed -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPackageType(PackageType packageType) Add a package to this package manager.voiddump()Dump the package information to STDOUT.getPackageType(String name) Given the name of a package (Ex: org.apache.maven.util) obtain it from the package manager.Gets all of the packages in this package manager.private voidParse out all the directories on which this depends.voidvoidsetExcludes(String[] excludes) voidsetIncludes(String[] includes)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
fileManager
-
directories
-
packages
All the packages that have been parsed -
defaultPackage
The default Java package. -
excludes
The list of exclude patterns to use. -
includes
The list of include patterns to use.
-
-
Constructor Details
-
PackageManager
-
-
Method Details
-
getPackageType
Given the name of a package (Ex: org.apache.maven.util) obtain it from the package manager.- Parameters:
name- name of package- Returns:
- package type if found or default package type
-
addPackageType
Add a package to this package manager.- Parameters:
packageType- package type to add
-
getPackageTypes
Gets all of the packages in this package manager.- Returns:
- package types
-
parse
Parse out all the directories on which this depends. -
process
-
dump
public void dump()Dump the package information to STDOUT. FOR DEBUG ONLY -
setExcludes
-
setIncludes
-