public class ToFilter extends Object implements StanzaFilter
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Stanza packet)
Tests whether or not the specified stanza should pass the filter.
|
String |
toString() |
public boolean accept(Stanza packet)
StanzaFilteraccept in interface StanzaFilterpacket - the stanza(/packet) to test.