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

Class RecipientStringTerm

  • All Implemented Interfaces:
    java.io.Serializable


    public final class RecipientStringTerm
    extends AddressStringTerm 
    A string comparison of the recipient headers in a message.
    Since:
    JavaMail 1.1
    See Also:
    Serialized Form
    • Constructor Detail

      • RecipientStringTerm

        public RecipientStringTerm(Message.RecipientType type,
         java.lang.String pattern)
        Constructor.
        Parameters:
        type - the recipient type
        address - the address pattern for comparison
    • Method Detail

      • match

        public boolean match(Message msg)
        Returns true only if the address specified in this term is a substring of the recipient address in the given message.
        Specified by:
        match in class SearchTerm

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