public interface PathFilter extends Filter
PathFilterSet.| Modifier and Type | Field and Description |
|---|---|
static PathFilter |
ALL
The "Catch all" item filter.
|
static PathFilter |
NONE
The "Miss all" item filter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAbsolute()
Checks if the pattern is absolute, i.e.
|
boolean |
matches(String path)
Checks if the given path matches this filters criteria.
|
static final PathFilter ALL
static final PathFilter NONE
boolean matches(String path)
path - the path to checktrue if this filter matches the criteria;
false otherwise.boolean isAbsolute()
true if pattern is absoluteCopyright © 2017 The Apache Software Foundation. All rights reserved.