Class FromJidTypeFilter
- java.lang.Object
-
- org.jivesoftware.smack.filter.jidtype.AbstractJidTypeFilter
-
- org.jivesoftware.smack.filter.jidtype.FromJidTypeFilter
-
- All Implemented Interfaces:
StanzaFilter
,Predicate<Stanza>
public class FromJidTypeFilter extends AbstractJidTypeFilter
Filter based on the 'from' XMPP address type.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jivesoftware.smack.filter.jidtype.AbstractJidTypeFilter
AbstractJidTypeFilter.JidType
-
-
Field Summary
Fields Modifier and Type Field Description static FromJidTypeFilter
ENTITY_BARE_JID
-
Constructor Summary
Constructors Constructor Description FromJidTypeFilter(AbstractJidTypeFilter.JidType jidType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Jid
getJidToMatchFrom(Stanza stanza)
-
Methods inherited from class org.jivesoftware.smack.filter.jidtype.AbstractJidTypeFilter
accept, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smack.filter.StanzaFilter
asPredicate, test
-
-
-
-
Field Detail
-
ENTITY_BARE_JID
public static final FromJidTypeFilter ENTITY_BARE_JID
-
-
Constructor Detail
-
FromJidTypeFilter
public FromJidTypeFilter(AbstractJidTypeFilter.JidType jidType)
-
-
Method Detail
-
getJidToMatchFrom
protected Jid getJidToMatchFrom(Stanza stanza)
- Specified by:
getJidToMatchFrom
in classAbstractJidTypeFilter
-
-