Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.jdeveloper.java.filter
Interface PackageNameFilter

All Known Implementing Classes:
PatternMatchNameFilter, SimpleNameFilter

public interface PackageNameFilter

The 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.

See Also:
JavaClassLocator

Method Summary
 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.
 

Method Detail

acceptPackageName

boolean acceptPackageName(java.lang.String packageName)
Check whether the given package name should be accepted by the filter implementation.

Parameters:
packageName - the package name
Returns:
true if the filter accepts the given name, false otherwise

setMatchName

void setMatchName(java.lang.String matchName)
Sets the text to use when testing whether or not a package name is accepted.

Parameters:
match - the name to match

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

Copyright © 1997, 2011, Oracle. All rights reserved.