JavaScript is disabled on your browser.
javax.mail.search

Class FromTerm

  • All Implemented Interfaces:
    java.io.Serializable


    public final class FromTerm
    extends AddressTerm 
    A comparison of the From address.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors
      Constructor and Description
      FromTerm (Address address)
      Constructor.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      boolean equals (java.lang.Object other)
      boolean match (Message msg)
      Returns true if the From address in the given message matches the address specified in this term.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FromTerm

        public FromTerm(Address address)
        Constructor.
        Parameters:
        address - the address for comparison
    • Method Detail

      • match

        public boolean match(Message msg)
        Returns true if the From address in the given message matches the address specified in this term.
        Specified by:
        match in class SearchTerm
      • equals

        public boolean equals(java.lang.Object other)
        Overrides:
        equals in class AddressTerm

AltStyle によって変換されたページ (->オリジナル) /