|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jivesoftware.smack.filter.FromContainsFilter
public class FromContainsFilter
Filters for packets where the "from" field contains a specified value.
| Constructor Summary | |
|---|---|
FromContainsFilter(java.lang.String from)
Creates a "from" contains filter using the "from" field part. |
|
| Method Summary | |
|---|---|
boolean |
accept(Packet packet)
Tests whether or not the specified packet should pass the filter. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FromContainsFilter(java.lang.String from)
from - the from field value the packet must contain.| Method Detail |
|---|
public boolean accept(Packet packet)
PacketFilter
accept in interface PacketFilterpacket - the packet to test.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||