public interface PathFilter extends Filter, Dumpable
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.
|
PathFilter |
translate(PathMapping mapping)
Translates this path filter with the given mapping.
|
static final PathFilter ALL
static final PathFilter NONE
boolean matches(@Nonnull String path)
path - the path to checktrue if this filter matches the criteria;
false otherwise.boolean isAbsolute()
true if pattern is absolute@Nonnull PathFilter translate(@Nullable PathMapping mapping)
mapping - the mapping to applyCopyright © 2010 - 2020 Adobe. All Rights Reserved