|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.mail.MessageContext
public class MessageContext
The context in which a piece of message content is contained.
| 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. |
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 |
| Constructor Detail |
|---|
public MessageContext(Part part)
part - the containing part| Method 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||