public class FromMatchesFilter extends Object implements PacketFilter
| Constructor and Description |
|---|
FromMatchesFilter(String address)
Creates a "from" filter using the "from" field part.
|
public FromMatchesFilter(String address)
address - the from field value the packet must match. Could be a full or
bare JID.public boolean accept(org.xmpp.packet.Packet packet)
PacketFilteraccept in interface PacketFilterpacket - the packet to test.Copyright © 2014. All Rights Reserved.