java.lang.Object | +--javax.mail.MessageContext
The context in which a piece of Message content is contained. AMessageContext
object is returned by thegetMessageContext
method of theMessageAware
interface.MessageAware
is typically implemented byDataSources
to allow aDataContentHandler
to pass on information about the context in which a data content object is operating.
MessageAware
,DataSource
,DataContentHandler
MessageContext(Part part) Create a MessageContext object describing the context of the given Part. |
getMessage() Return the Message that contains the content. | |
getPart() Return the Part that contains the content. | |
getSession() Return the Session we're operating in. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
publicMessageContext(Part part)
publicPartgetPart()
publicMessagegetMessage()
publicSessiongetSession()