javax.mail

Class MessageContext


public class MessageContext
extends java.lang.Object

The context of a datum of message content.
Version:
1.4
Author:
Chris Burdess

Constructor Summary

MessageContext(Part part)
Creates a message context describing the given part.

Method Summary

Message
getMessage()
Returns the message that contains the content.
Part
getPart()
Returns the part containing the content.
Session
getSession()
Returns the session context.

Constructor Details

MessageContext

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

Method Details

getMessage

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

getPart

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

getSession

public Session getSession()
Returns the session context.

© Copyright 2003, 2004 The Free Software Foundation, All rights reserved