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(Packet packet)
PacketFilteraccept in interface PacketFilterpacket - the packet to test.Copyright © 2003-2007 Jive Software.