Class AbstractFromToMatchesFilter

java.lang.Object
org.jivesoftware.smack.filter.AbstractFromToMatchesFilter
All Implemented Interfaces:
Predicate<Stanza>, StanzaFilter
Direct Known Subclasses:
FromMatchesFilter, ToMatchesFilter

public abstract class AbstractFromToMatchesFilter extends Object implements StanzaFilter
  • Constructor Details

    • AbstractFromToMatchesFilter

      protected AbstractFromToMatchesFilter(Jid address, boolean ignoreResourcepart)
      Creates a filter matching on the address returned by getAddressToCompare(Stanza). The address must be the same as the filter address. The second parameter specifies whether the full or the bare addresses are compared.
      Parameters:
      address - The address to filter for. If null is given, then getAddressToCompare(Stanza) must also return null to match.
      ignoreResourcepart - TODO javadoc me please
    • AbstractFromToMatchesFilter

      protected AbstractFromToMatchesFilter(Jid address, org.jivesoftware.smack.filter.AbstractFromToMatchesFilter.MatchMode matchMode)
      Creates a filter matching on the address returned by getAddressToCompare(Stanza). The address must be the same as the filter address. The second parameter specifies whether the full or the bare addresses are compared.
      Parameters:
      address - The address to filter for. If null is given, then getAddressToCompare(Stanza) must also return null to match.
      matchMode - the match mode.
  • Method Details