|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.common.string.shellmatcher.MultiPattern
public class MultiPattern
A multi pattern defines a single search criteria for the MultiMatcher class.
| Constructor Summary | |
|---|---|
MultiPattern()
Default constructor. |
|
MultiPattern(java.lang.String attributeName,
java.lang.Object patternValue)
Value constructor. |
|
| Method Summary | |
|---|---|
void |
addPatternValue(java.lang.Object patternValue)
Adds a pattern value. |
boolean |
match(java.lang.Object o)
Determines if an object matches the pattern. |
void |
setAttributeName(java.lang.String attributeName)
Sets the attribute name. |
void |
setExactMatch(boolean exactMatch)
Sets the string matching strategy. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiPattern()
public MultiPattern(java.lang.String attributeName,
java.lang.Object patternValue)
attributeName - Name of the attributepatternValue - Pattern value| Method Detail |
|---|
public boolean match(java.lang.Object o)
o - Object to match against the pattern
public void setAttributeName(java.lang.String attributeName)
public void addPatternValue(java.lang.Object patternValue)
public void setExactMatch(boolean exactMatch)
exactMatch - true String matches must be exact matches.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||