Class Mail
- java.lang.Object
-
- org.silverpeas.core.mail.extractor.Mail
-
public class Mail extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
EML_MAIL_EXTENSION
static String[]
MAIL_EXTENTIONS
static String
MSG_MAIL_EXTENSION
-
Constructor Summary
Constructors Constructor Description Mail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.mail.Address[]
getAllRecipients()
String
getBody()
javax.mail.Address[]
getCc()
Date
getDate()
javax.mail.internet.InternetAddress
getFrom()
String
getSubject()
javax.mail.Address[]
getTo()
void
setBody(String body)
void
setCc(javax.mail.Address[] cc)
void
setDate(Calendar date)
void
setDate(Date date)
void
setFrom(javax.mail.internet.InternetAddress from)
void
setSubject(String subject)
void
setTo(javax.mail.Address[] to)
-
-
-
Field Detail
-
EML_MAIL_EXTENSION
public static final String EML_MAIL_EXTENSION
- See Also:
- Constant Field Values
-
MSG_MAIL_EXTENSION
public static final String MSG_MAIL_EXTENSION
- See Also:
- Constant Field Values
-
MAIL_EXTENTIONS
public static final String[] MAIL_EXTENTIONS
-
-
Method Detail
-
getSubject
public String getSubject()
-
setSubject
public void setSubject(String subject)
-
getDate
public Date getDate()
-
setDate
public void setDate(Date date)
-
setDate
public void setDate(Calendar date)
-
getBody
public String getBody()
-
setBody
public void setBody(String body)
-
getFrom
public javax.mail.internet.InternetAddress getFrom()
-
setFrom
public void setFrom(javax.mail.internet.InternetAddress from)
-
getTo
public javax.mail.Address[] getTo()
-
setTo
public void setTo(javax.mail.Address[] to)
-
getCc
public javax.mail.Address[] getCc()
-
setCc
public void setCc(javax.mail.Address[] cc)
-
getAllRecipients
public javax.mail.Address[] getAllRecipients()
-
-