public class FromMatchesFilter extends java.lang.Object implements PacketFilter
| Constructor and Description |
|---|
FromMatchesFilter(java.lang.String address)
Creates a "from" filter using the "from" field part.
|
public FromMatchesFilter(java.lang.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 Jive Software.