JavaScript is disabled on your browser.
javax.mail

Class MessageContext



  • public class MessageContext
    extends java.lang.Object
    The context of a datum of message content.
    • Constructor Summary

      Constructors
      Constructor and Description
      MessageContext (Part part)
      Creates a message context describing the given part.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      Message getMessage ()
      Returns the message that contains the content.
      Part getPart ()
      Returns the part containing the content.
      Session getSession ()
      Returns the session context.
      • Methods inherited from class java.lang.Object

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

      • MessageContext

        public MessageContext(Part part)
        Creates a message context describing the given part.
    • Method Detail

      • getPart

        public Part getPart()
        Returns the part containing the content. This may be null.
      • getMessage

        public Message getMessage()
        Returns the message that contains the content.
      • getSession

        public Session getSession()
        Returns the session context.

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