javax.mail
public class MessageContext extends Object
| Constructor Summary | |
|---|---|
| MessageContext(Part part)
Create a MessageContext object describing the context of the supplied Part.
| |
| Method Summary | |
|---|---|
| Message | getMessage() |
| Part | getPart()
Return the Part that contains the content.
|
| Session | getSession()
Return the session associated with the Message containing this Part.
|
Parameters: part the containing part
Returns:
Returns: the part
Returns: the session associated with this context's root message