Package org.jivesoftware.smack.filter
Class FromTypeFilter
- java.lang.Object
-
- org.jivesoftware.smack.filter.AbstractJidTypeFilter
-
- org.jivesoftware.smack.filter.AbstractExactJidTypeFilter
-
- org.jivesoftware.smack.filter.FromTypeFilter
-
- All Implemented Interfaces:
StanzaFilter
,Predicate<Stanza>
public final class FromTypeFilter extends AbstractExactJidTypeFilter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jivesoftware.smack.filter.AbstractJidTypeFilter
AbstractJidTypeFilter.JidType
-
-
Field Summary
Fields Modifier and Type Field Description static FromTypeFilter
DOMAIN_BARE_JID
static FromTypeFilter
DOMAIN_FULL_JID
static FromTypeFilter
ENTITY_BARE_JID
static FromTypeFilter
ENTITY_FULL_JID
static FromTypeFilter
FROM_ANY_JID
-
Fields inherited from class org.jivesoftware.smack.filter.AbstractJidTypeFilter
jidType
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Jid
getJidToInspect(Stanza stanza)
-
Methods inherited from class org.jivesoftware.smack.filter.AbstractExactJidTypeFilter
accept
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smack.filter.StanzaFilter
asPredicate, test
-
-
-
-
Field Detail
-
ENTITY_FULL_JID
public static final FromTypeFilter ENTITY_FULL_JID
-
ENTITY_BARE_JID
public static final FromTypeFilter ENTITY_BARE_JID
-
DOMAIN_FULL_JID
public static final FromTypeFilter DOMAIN_FULL_JID
-
DOMAIN_BARE_JID
public static final FromTypeFilter DOMAIN_BARE_JID
-
FROM_ANY_JID
public static final FromTypeFilter FROM_ANY_JID
-
-
Method Detail
-
getJidToInspect
protected Jid getJidToInspect(Stanza stanza)
- Specified by:
getJidToInspect
in classAbstractJidTypeFilter
-
-