Save This Page
Home » apache-tomcat-6.0.16-src » javax » mail » [javadoc | source]
javax.mail
public class: MessageContext [javadoc | source]
java.lang.Object
   javax.mail.MessageContext
The context in which a piece of message content is contained.
Constructor:
 public MessageContext(Part part) 
    Create a MessageContext object describing the context of the supplied Part.
    Parameters:
    part - the containing part
Method from javax.mail.MessageContext Summary:
getMessage,   getPart,   getSession
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.mail.MessageContext Detail:
 public Message getMessage() 
    Return the message that contains the content; if the Part is a Multipart then recurse up the chain until a Message is found.
 public Part getPart() 
    Return the Part that contains the content.
 public Session getSession() 
    Return the session associated with the Message containing this Part.