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