public class Include extends Object
| Modifier and Type | Method and Description |
|---|---|
Matcher |
createMatcher() |
String |
getPattern() |
boolean |
match(String relativePath) |
boolean |
match(String nodeName,
int depth)
Matches node name against pattern at given depth.
|
boolean |
matchAny(int depth) |
int |
size() |
String |
toString() |
public Include(String pattern)
public boolean match(String relativePath)
public String getPattern()
public Matcher createMatcher()
public boolean match(String nodeName, int depth)
nodeName - nodeName to matchdepth - depth in pathpublic boolean matchAny(int depth)
public int size()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.