org.talend.esb.sam.common.filter.impl
Class StringContentFilter
java.lang.Object
org.talend.esb.sam.common.filter.impl.StringContentFilter
- All Implemented Interfaces:
- EventFilter
public class StringContentFilter
- extends Object
- implements EventFilter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringContentFilter
public StringContentFilter()
getWordsToFilter
public List<String> getWordsToFilter()
setWordsToFilter
public void setWordsToFilter(List<String> wordsToFilter)
filter
public boolean filter(Event event)
- Filter event if word occurs in wordsToFilter
- Specified by:
filter in interface EventFilter
Copyright © 2011 Talend Inc.. All Rights Reserved.