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

Class MessageIDTerm

  • All Implemented Interfaces:
    java.io.Serializable


    public final class MessageIDTerm
    extends StringTerm 
    A comparison for the RFC822 "Message-Id", a string message identifier for Internet messages that is supposed to be unique per message.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors
      Constructor and Description
      MessageIDTerm (java.lang.String msgid)
      Constructor.
    • Method Summary

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

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

      • MessageIDTerm

        public MessageIDTerm(java.lang.String msgid)
        Constructor.
        Parameters:
        msgid - the Message-Id to search for
    • Method Detail

      • match

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

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

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