public interface PackageNameFilter
PackageNameFilter is an interface to support filtering
based on package name, such as when fetching a list of packages from
a JavaClassLocator. Clients can encapsulate their filtering
requirements into a PackageNameFilter implementation. JavaClassLocator| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptPackageName(java.lang.String packageName)
Check whether the given package name should be accepted by the
filter implementation.
|
void |
setMatchName(java.lang.String matchName)
Sets the text to use when testing whether or not a package name
is accepted.
|
boolean acceptPackageName(java.lang.String packageName)
packageName - the package namevoid setMatchName(java.lang.String matchName)
match - the name to match