|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.mail.MessageContext
The context in which a piece of message content is contained.
Field Summary | |
private Part |
part
|
Constructor Summary | |
MessageContext(Part part)
Create a MessageContext object describing the context of the supplied Part. |
Method Summary | |
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. |
private Message |
getMessageFrom(Part p)
|
Part |
getPart()
Return the Part that contains the content. |
Session |
getSession()
Return the session associated with the Message containing this Part. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private final Part part
Constructor Detail |
public MessageContext(Part part)
part
- the containing partMethod Detail |
public Part getPart()
Part
that contains the content.
public Message getMessage()
Multipart
then recurse up the chain until a Message
is found.
public Session getSession()
private Message getMessageFrom(Part p)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |