public class NotFilter extends java.lang.Object implements StanzaFilter
| Constructor and Description |
|---|
NotFilter(StanzaFilter filter)
Creates a NOT filter using the specified filter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Stanza packet)
Tests whether or not the specified stanza should pass the filter.
|
public NotFilter(StanzaFilter filter)
filter - the filter.public boolean accept(Stanza packet)
StanzaFilteraccept in interface StanzaFilterpacket - the stanza(/packet) to test.