net.sf.jour.filter
Class MatchStringFilter

java.lang.Object
  extended by net.sf.jour.filter.MatchFilter
      extended by net.sf.jour.filter.BasicFilter
          extended by net.sf.jour.filter.MatchStringFilter
All Implemented Interfaces:
Filter
Direct Known Subclasses:
Pointcut

public class MatchStringFilter
extends BasicFilter

TODO Add docs Created on 04.12.2004 Contributing Author(s): Misha Lifschitz (Inital implementation) Vlad Skarzhevskyy (Inital implementation)

Version:
$Revision: 47 $ ($Author: vlads $) $Date: 2006-11-19 16:52:09 -0500 (Sun, 19 Nov 2006) $
Author:
vlads

Field Summary
protected static Logger log
           
 
Fields inherited from class net.sf.jour.filter.MatchFilter
debug, MATCH_DONT_KNOW, MATCH_EXACT, MATCH_EXCLUDE, MATCH_NO, MATCH_YES, name
 
Constructor Summary
protected MatchStringFilter()
           
  MatchStringFilter(java.lang.String pattern)
           
 
Method Summary
 void debug()
           
 boolean match(java.lang.String text)
           
static int matchSimple(java.lang.String pattern, java.lang.String text)
           
 int matchState(java.lang.Object obj)
           
 boolean setPattern(java.lang.String pattern)
           
 
Methods inherited from class net.sf.jour.filter.BasicFilter
accept, getGlobPattern
 
Methods inherited from class net.sf.jour.filter.MatchFilter
b2Match, isMatch, match2String, notMatch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final Logger log
Constructor Detail

MatchStringFilter

protected MatchStringFilter()

MatchStringFilter

public MatchStringFilter(java.lang.String pattern)
Method Detail

debug

public void debug()
Specified by:
debug in class MatchFilter

setPattern

public boolean setPattern(java.lang.String pattern)

matchState

public int matchState(java.lang.Object obj)
Specified by:
matchState in class MatchFilter

match

public boolean match(java.lang.String text)

matchSimple

public static int matchSimple(java.lang.String pattern,
                              java.lang.String text)


Copyright © 2004-2008 pyx4j.com. All Rights Reserved.