|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.util.RegexNameMatcher
public class RegexNameMatcher
A name matcher that matches any of a list of regular expressions.
Constructor Summary | |
---|---|
RegexNameMatcher()
Default constructor. |
Method Summary | |
---|---|
boolean |
matches(java.lang.String name)
Does the given name match, in whatever way the implementation defines. |
void |
setPatterns(java.util.List patterns)
Set the patterns. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegexNameMatcher()
Method Detail |
---|
public void setPatterns(java.util.List patterns)
patterns
- public boolean matches(java.lang.String name)
NameMatcher
matches
in interface NameMatcher
name
- The name to check for matching.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |