|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.mail.MessageContext
public class MessageContext
The context in which a piece of Message content is contained. A
MessageContext
object is returned by the
getMessageContext
method of the
MessageAware
interface. MessageAware
is
typically implemented by DataSources
to allow a
DataContentHandler
to pass on information about the
context in which a data content object is operating.
MessageAware
,
DataSource
,
DataContentHandler
Constructor Summary | |
---|---|
MessageContext(Part part)
Create a MessageContext object describing the context of the given Part. |
Method Summary | |
---|---|
Message |
getMessage()
Return the Message that contains the content. |
Part |
getPart()
Return the Part that contains the content. |
Session |
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 |
Constructor Detail |
---|
public MessageContext(Part part)
Method Detail |
---|
public Part getPart()
public Message getMessage()
public Session getSession()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 4-June-2010 04:34