net.sf.xbus.technical.mail
Class Email
java.lang.Object
net.sf.xbus.technical.mail.Email
public class Email
- extends java.lang.Object
Description: An instance of that class will store an manupulate the email
receive by the POP3XMLReceiver.
- Version:
- 1.3
- Author:
- Dominique Boivin
Constructor Summary |
Email(java.lang.String system)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Email
public Email(java.lang.String system)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getXML
public org.w3c.dom.Document getXML()
throws XException
- Throws:
XException
isEmpty
public boolean isEmpty()
getFromAddress
public javax.mail.internet.InternetAddress getFromAddress()
setFromAddress
public void setFromAddress(javax.mail.internet.InternetAddress fromAddress)
setToAddress
public void setToAddress(javax.mail.internet.InternetAddress toAddress)
getToAddresses
public java.util.List getToAddresses()
setCCAddress
public void setCCAddress(javax.mail.internet.InternetAddress ccAddress)
getCCAddresses
public java.util.List getCCAddresses()
setBCCAddress
public void setBCCAddress(javax.mail.internet.InternetAddress bccAddress)
getBCCAddresses
public java.util.List getBCCAddresses()
setSubject
public void setSubject(java.lang.String subject)
getSubject
public java.lang.String getSubject()
setContent
public void setContent(java.lang.String content)
getContent
public java.lang.String getContent()
setSentDate
public void setSentDate(java.util.Date sentDate)
getSentDate
public java.util.Date getSentDate()
getContentType
public java.lang.String getContentType()
setContentType
public void setContentType(java.lang.String contentType)