public class RegExFilter extends Object implements Filter, ObjectFilter
RegExFilter is used to match a String argument against a regular expression.| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
logger |
| Constructor and Description |
|---|
RegExFilter() |
RegExFilter(String pattern) |
RegExFilter(String pattern,
int flags) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(MuleMessage message)
Check a given message against this filter.
|
boolean |
accept(Object object) |
boolean |
equals(Object obj) |
int |
getFlags() |
String |
getPattern() |
int |
hashCode() |
void |
setFlags(int flags) |
void |
setPattern(String pattern) |
public RegExFilter()
public RegExFilter(String pattern)
public RegExFilter(String pattern, int flags)
public boolean accept(MuleMessage message)
Filterpublic boolean accept(Object object)
accept in interface ObjectFilterpublic String getPattern()
public void setPattern(String pattern)
public int getFlags()
public void setFlags(int flags)
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.