The PackageFilter class is used to filter imported
package names.
The default filter contains any packages declared in the
jdepend.properties file, if such a file exists
either in the user's home directory or somewhere in the classpath.
author: Mike Clark author: Clarkware Consulting, Inc.
Constructor Summary
public
PackageFilter() Constructs a PackageFilter instance containing
the filters specified in the jdepend.properties file,
if it exists.
public
PackageFilter(File f) Constructs a PackageFilter instance containing
the filters contained in the specified file.
public
PackageFilter(Collection packageNames) Constructs a PackageFilter instance with the
specified collection of package names to filter.
Method Summary
public boolean
accept(String packageName) Indicates whether the specified package name passes this package filter.
Parameters: packageName - Package name.
Indicates whether the specified package name passes this package filter.
Parameters: packageName - Package name. true if the package name should be included;false otherwise.