public class MailMessageInfo extends Object
修飾子とタイプ | クラスと説明 |
---|---|
static class |
MailMessageInfo.AttachmentFile |
static class |
MailMessageInfo.MailStatus |
コンストラクタと説明 |
---|
MailMessageInfo() |
MailMessageInfo(javax.mail.Message message) |
修飾子とタイプ | メソッドと説明 |
---|---|
MailMessageInfo.AttachmentFile[] |
getAttachmentFiles() |
String[] |
getBcc() |
String |
getBody() |
String[] |
getCc() |
MailContentInfo[] |
getContents() |
String |
getFolder() |
String |
getFrom() |
Map<String,Collection<String>> |
getHeaders() |
int |
getMessageNumber() |
Date |
getReceivedDate() |
Date |
getSentDate() |
MailMessageInfo.MailStatus |
getStatus() |
String |
getSubject() |
String[] |
getTo() |
void |
setAttachmentFiles(MailMessageInfo.AttachmentFile[] attachmentFiles) |
void |
setBcc(String[] bcc) |
void |
setBody(String body) |
void |
setCc(String[] cc) |
void |
setClosed(boolean closed) |
void |
setContents(MailContentInfo[] contents) |
void |
setFolder(String folder) |
void |
setFrom(String from) |
void |
setHeaders(Map<String,Collection<String>> headers) |
void |
setMessageNumber(int messageNumber) |
void |
setReceivedDate(Date receivedDate) |
void |
setSentDate(Date sentDate) |
void |
setStatus(MailMessageInfo.MailStatus status) |
void |
setSubject(String subject) |
void |
setTo(String[] to) |
public MailMessageInfo()
public MailMessageInfo(javax.mail.Message message)
public int getMessageNumber()
public String getFolder()
public Date getSentDate() throws javax.mail.MessagingException
javax.mail.MessagingException
public Date getReceivedDate() throws javax.mail.MessagingException
javax.mail.MessagingException
public Map<String,Collection<String>> getHeaders() throws javax.mail.MessagingException
javax.mail.MessagingException
public String getFrom() throws javax.mail.MessagingException, UnsupportedEncodingException
javax.mail.MessagingException
UnsupportedEncodingException
public String[] getTo() throws javax.mail.MessagingException, UnsupportedEncodingException
javax.mail.MessagingException
UnsupportedEncodingException
public String[] getCc() throws javax.mail.MessagingException, UnsupportedEncodingException
javax.mail.MessagingException
UnsupportedEncodingException
public String[] getBcc() throws javax.mail.MessagingException, UnsupportedEncodingException
javax.mail.MessagingException
UnsupportedEncodingException
public String getSubject() throws javax.mail.MessagingException
javax.mail.MessagingException
public String getBody() throws javax.mail.MessagingException, IOException
javax.mail.MessagingException
IOException
public MailContentInfo[] getContents() throws javax.mail.MessagingException, IOException
javax.mail.MessagingException
IOException
public MailMessageInfo.AttachmentFile[] getAttachmentFiles() throws javax.mail.MessagingException, IOException
javax.mail.MessagingException
IOException
public MailMessageInfo.MailStatus getStatus()
public void setClosed(boolean closed)
public void setMessageNumber(int messageNumber)
public void setFolder(String folder)
public void setSentDate(Date sentDate)
public void setReceivedDate(Date receivedDate)
public void setHeaders(Map<String,Collection<String>> headers)
public void setFrom(String from)
public void setTo(String[] to)
public void setCc(String[] cc)
public void setBcc(String[] bcc)
public void setSubject(String subject)
public void setBody(String body)
public void setAttachmentFiles(MailMessageInfo.AttachmentFile[] attachmentFiles)
public void setContents(MailContentInfo[] contents)
public void setStatus(MailMessageInfo.MailStatus status)
Copyright © 2012 NTT DATA INTRAMART CORPORATION