ToMatchesFilter
instead.@Deprecated public class ToFilter extends java.lang.Object implements StanzaFilter
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Stanza packet)
Deprecated.
Tests whether or not the specified stanza should pass the filter.
|
java.lang.String |
toString()
Deprecated.
|
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