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