public class FromContainsFilter extends Object implements PacketFilter
Constructor and Description |
---|
FromContainsFilter(String from)
Creates a "from" contains filter using the "from" field part.
|
public FromContainsFilter(String from)
from
- the from field value the packet must contain.public boolean accept(Packet packet)
PacketFilter
accept
in interface PacketFilter
packet
- the packet to test.Copyright © 2003-2007 Jive Software.