public abstract class AbstractResourceFilter extends Object implements ResourceFilter
ResourceFilter
implementations.Constructor and Description |
---|
AbstractResourceFilter(List<String> includes,
List<String> excludes) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
isMatch(String resourceName,
List<String> toMatch) |
boolean |
isResourceExcluded(String resourceName)
Return true if the resource is included by the filter.
|
boolean |
isResourceIncluded(String resourceName)
Return true if the resource is included by the filter.
|
public boolean isResourceIncluded(String resourceName)
ResourceFilter
isResourceIncluded
in interface ResourceFilter
resourceName
- the resource namepublic boolean isResourceExcluded(String resourceName)
ResourceFilter
isResourceExcluded
in interface ResourceFilter
resourceName
- the resource name