net.clackrouter.component.extension
Class Classifier.PatternMatcher

java.lang.Object
  extended by net.clackrouter.component.extension.Classifier.PatternMatcher
Enclosing class:
Classifier

public class Classifier.PatternMatcher
extends java.lang.Object


Field Summary
protected  java.lang.String mPatternString
           
 
Constructor Summary
Classifier.PatternMatcher(java.lang.String pattern)
           
 
Method Summary
 Classifier.QuickMatch createQM(java.lang.String pattern)
           
 boolean matches(VNSPacket in)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mPatternString

protected java.lang.String mPatternString
Constructor Detail

Classifier.PatternMatcher

public Classifier.PatternMatcher(java.lang.String pattern)
                          throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

createQM

public Classifier.QuickMatch createQM(java.lang.String pattern)
                               throws java.lang.Exception
Throws:
java.lang.Exception

matches

public boolean matches(VNSPacket in)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object