|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.talend.esb.sam.common.filter.impl.StringContentFilter
public class StringContentFilter
The Class StringContentFilter used for filtering words in event.
| Constructor Summary | |
|---|---|
StringContentFilter()
|
|
| Method Summary | |
|---|---|
boolean |
filter(Event event)
Filter event if word occurs in wordsToFilter. |
List<String> |
getWordsToFilter()
Gets the words to filter. |
void |
setWordsToFilter(List<String> wordsToFilter)
Sets the words to filter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringContentFilter()
| Method Detail |
|---|
public List<String> getWordsToFilter()
public void setWordsToFilter(List<String> wordsToFilter)
wordsToFilter - the new words to filter listpublic boolean filter(Event event)
filter in interface EventFilterevent - the event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||