org.talend.esb.sam.common.filter.impl
Class StringContentFilter

java.lang.Object
  extended by org.talend.esb.sam.common.filter.impl.StringContentFilter
All Implemented Interfaces:
EventFilter

public class StringContentFilter
extends Object
implements EventFilter


Constructor Summary
StringContentFilter()
           
 
Method Summary
 boolean filter(Event event)
          Filter event if word occurs in wordsToFilter
 List<String> getWordsToFilter()
           
 void setWordsToFilter(List<String> wordsToFilter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringContentFilter

public StringContentFilter()
Method Detail

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.