org.mule.routing.filters
Class RegExFilter
java.lang.Object
org.mule.routing.filters.RegExFilter
- All Implemented Interfaces:
- ObjectFilter, UMOFilter
- public class RegExFilter
- extends Object
- implements UMOFilter, ObjectFilter
RegExFilter
is used to match a String argument against a regular
expression.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegExFilter
public RegExFilter()
RegExFilter
public RegExFilter(String pattern)
accept
public boolean accept(UMOMessage message)
- Description copied from interface:
UMOFilter
- Check a given message against this filter.
- Specified by:
accept
in interface UMOFilter
- Parameters:
message
- a non null message to filter.
- Returns:
true
if the message matches the filter
accept
public boolean accept(Object object)
- Specified by:
accept
in interface ObjectFilter
getPattern
public String getPattern()
setPattern
public void setPattern(String pattern)
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.