|
Oracle® Fusion Middleware Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.wcm.common.utils.SimplePatternMatcher
public class SimplePatternMatcher
Class to hold a list of simple patterns and enable matching against those patterns for arbitrary strings.
Nested Class Summary | |
---|---|
static class |
SimplePatternMatcher.MatchResult Result from a match operation |
Constructor Summary | |
---|---|
SimplePatternMatcher() |
Method Summary | |
---|---|
void |
addExclusionPattern(java.lang.String pattern) Add the exclusion pattern to this matcher. |
void |
addPattern(java.lang.String pattern, java.lang.String data) Add the pattern to this matcher. |
void |
addSimplePattern(java.lang.String pattern, java.lang.String data) Add a simple pattern to this matcher object. |
java.util.Collection<java.lang.String> |
getPatterns() |
SimplePatternMatcher.MatchResult |
matchText(java.lang.String text) See if there is a match. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimplePatternMatcher()
Method Detail |
---|
public void addSimplePattern(java.lang.String pattern, java.lang.String data)
pattern
- the patterndata
- information to associate with this patternpublic java.util.Collection<java.lang.String> getPatterns()
public void addExclusionPattern(java.lang.String pattern)
pattern
- the pattern of items to excludepublic void addPattern(java.lang.String pattern, java.lang.String data)
pattern
- the patterndata
- the data to associate with the pattern.public SimplePatternMatcher.MatchResult matchText(java.lang.String text)
text
- the text to match
|
Oracle® Fusion Middleware Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |