public class NotFilter extends Object implements PacketFilter
| Constructor and Description |
|---|
NotFilter(PacketFilter filter)
Creates a NOT filter using the specified filter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(org.xmpp.packet.Packet packet)
Tests whether or not the specified packet should pass the filter.
|
public NotFilter(PacketFilter filter)
filter - the filter.public boolean accept(org.xmpp.packet.Packet packet)
PacketFilteraccept in interface PacketFilterpacket - the packet to test.Copyright © 2014. All Rights Reserved.