com.notuvy.util
Class MultiplePatternMatcher
java.lang.Object
com.notuvy.util.MultiplePatternMatcher
public class MultiplePatternMatcher
- extends Object
Match a string against multiple patterns. Try the patterns in order,
and handle the first match.
- Author:
- murali
Field Summary |
protected static org.apache.log4j.Logger |
LOG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected static final org.apache.log4j.Logger LOG
MultiplePatternMatcher
public MultiplePatternMatcher()
getResult
public Object getResult()
getCandidates
protected List getCandidates()
setResult
public void setResult(Object pResult)
add
public MultiplePatternMatcher add(Pattern pPattern,
MultiplePatternMatcher.Handler pHandler)
on
public boolean on(String pInput)
Copyright © 2013. All Rights Reserved.