Package org.jivesoftware.smack.filter
package org.jivesoftware.smack.filter
Allows
StanzaCollector
and StanzaListener
instances to filter for stanzas with particular attributes.
Selected Filter Types
StanzaTypeFilter
: filters for stanzas that are a stanza type (Message, Presence, or IQ)StanzaIdFilter
: filters for stanzas with a particular stanza IDToMatchesFilter
: filters for stanzas that are sent to a particular addressFromMatchesFilter
: filters for stanzas that are sent from a particular addressExtensionElementFilter
: filters for stanzas that have a particular stanza extension elementAndFilter
: implements the logical AND operation over two or more filtersOrFilter
: implements the logical OR operation over two or more filtersNotFilter
: implements the logical NOT operation on a filter
-
ClassDescriptionImplements the logical AND operation over two or more stanza filters.ExtensionElementFilter<E extends ExtensionElement>FlexibleStanzaTypeFilter<S extends Stanza>Filters for stanzas of a particular type and allows a custom method to further filter the packets.Filter for packets where the "from" field exactly matches a specified JID.Filters for packets which are a valid reply to an IQ request.A filter for IQ stanza types.Filters for packets of a specific type of Message (e.g.Filters message stanzas which have at least one body.Filters message stanzas which have at least one body.Filters message stanzas which have at least one body.Implements the logical NOT operation on a stanza filter.Implements the logical OR operation over two or more stanza filters.A filter for Presence types.Filters for stanzas with a particular type of stanza extension.Defines a way to filter stanzas for particular attributes.Filters for Stanzas with a particular stanza ID.Filters for Stanzas of a particular type.Filters for message packets with a particular thread value.