|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jivesoftware.smack.filter.NotFilter
public class NotFilter
Implements the logical NOT operation on a packet filter. In other words, packets pass this filter if they do not pass the supplied filter.
| Constructor Summary | |
|---|---|
NotFilter(PacketFilter filter)
Creates a NOT filter using the specified filter. |
|
| Method Summary | |
|---|---|
boolean |
accept(Packet packet)
Tests whether or not the specified packet should pass the filter. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NotFilter(PacketFilter filter)
filter - the filter.| Method Detail |
|---|
public boolean accept(Packet packet)
PacketFilter
accept in interface PacketFilterpacket - the packet to test.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||