📄 mailcontent.java.svn-base
字号:
package com.gsta.bimp.modules.mail;
import java.util.List;
/**
* Title:MailContent.java<br>
* Description: 邮件内容对象<br>
* Date:2008-3-4<br>
*
* @author :dengwenguang<br>
* @version 1.0<br>
*/
public class MailContent {
/**
* 普通收件人
*/
private String[] receiverByTO;
/**
* 抄送收件人
*/
private String[] receiverByCC;
/**
* 密件抄送收件人
*/
private String[] receiverByBCC;
/**
* 邮件标题
*/
private String subject;
/**
* 邮件内容
*/
private String content;
/**
* 图片
*/
private List<Image> imageList;
/**
* 附件绝对路径
*/
private String[] attachment;
/**
* 是否HTML格式邮件
*/
private boolean isHtmlMail = false;
/**
* 邮件拓展标志位。根据业务逻辑需要进行自定义,并由邮件发布器具体解释
*/
private String flag;
/**
* @return the attachment
*/
public String[] getAttachment() {
return attachment;
}
/**
* @param attachment
* the attachment to set
*/
public void setAttachment(String[] attachment) {
this.attachment = attachment;
}
/**
* @return the content
*/
public String getContent() {
return content;
}
/**
* @param content
* the content to set
*/
public void setContent(String content) {
this.content = content;
}
/**
* @return the flag
*/
public String getFlag() {
return flag;
}
/**
* @param flag
* the flag to set
*/
public void setFlag(String flag) {
this.flag = flag;
}
/**
* @return the imageList
*/
public List<Image> getImageList() {
return imageList;
}
/**
* @param imageList
* the imageList to set
*/
public void setImageList(List<Image> imageList) {
this.imageList = imageList;
}
/**
* @return the isHtmlMail
*/
public boolean getIsHtmlMail() {
return isHtmlMail;
}
/**
* @param isHtmlMail
* the isHtmlMail to set
*/
public void setIsHtmlMail(boolean isHtmlMail) {
this.isHtmlMail = isHtmlMail;
}
/**
* @return the receiverByBCC
*/
public String[] getReceiverByBCC() {
return receiverByBCC;
}
/**
* @param receiverByBCC
* the receiverByBCC to set
*/
public void setReceiverByBCC(String[] receiverByBCC) {
this.receiverByBCC = receiverByBCC;
}
/**
* @return the receiverByCC
*/
public String[] getReceiverByCC() {
return receiverByCC;
}
/**
* @param receiverByCC
* the receiverByCC to set
*/
public void setReceiverByCC(String[] receiverByCC) {
this.receiverByCC = receiverByCC;
}
/**
* @return the receiverByTO
*/
public String[] getReceiverByTO() {
return receiverByTO;
}
/**
* @param receiverByTO
* the receiverByTO to set
*/
public void setReceiverByTO(String[] receiverByTO) {
this.receiverByTO = receiverByTO;
}
/**
* @return the subject
*/
public String getSubject() {
return subject;
}
/**
* @param subject
* the subject to set
*/
public void setSubject(String subject) {
this.subject = subject;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -