|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasen.core.JasenMessageWrapper
Internally wraps a parsed JasenMessage.
Constructor Summary | |
JasenMessageWrapper(JasenMessage source)
|
Method Summary | |
String[] |
getAttachmentNames()
Returns the names of all attachments in the message |
Jasen |
getEngine()
Gets the current engine instance into which this wrapper was injected. |
String |
getEnvelopeSender()
Returns the "envelope" sender. |
javax.mail.internet.InternetAddress |
getFrom()
Returns the "From" header address. |
String |
getHtmlPart()
Gets the HTML part (if it exists) |
String |
getTextPart()
Gets the text/plain part of the message |
void |
setEngine(Jasen engine)
Sets the current engine instance into which this wrapper was injected. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JasenMessageWrapper(JasenMessage source)
Method Detail |
public String getTextPart() throws JasenException
JasenMessage
getTextPart
in interface JasenMessage
JasenException
public String getHtmlPart() throws JasenException
JasenMessage
getHtmlPart
in interface JasenMessage
JasenException
public String[] getAttachmentNames() throws JasenException
JasenMessage
getAttachmentNames
in interface JasenMessage
JasenException
public String getEnvelopeSender() throws JasenException
JasenMessage
Returns the "envelope" sender. This means the "actual" sender of the message.
If this is not known, return the "From" address.
getEnvelopeSender
in interface JasenMessage
JasenException
public javax.mail.internet.InternetAddress getFrom() throws JasenException
JasenMessage
getFrom
in interface JasenMessage
JasenException
public Jasen getEngine()
public void setEngine(Jasen engine)
engine
- The current Jasen engine instance.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |