📄 mailreceiver.java
字号:
/**
* =============================================
* Copyright 2005 TransFar
*
* Change Revision
* --------------------------------
* Date Author Remarks
* Dec 22, 2005 yHuang Create class com.szmx.component.mail.MailReceiver
* =============================================
*/
package com.szmx.component.mail;
import javax.mail.internet.MimeMessage;
import javax.mail.MessagingException;
import javax.mail.Part;
/**
* <TODO: Write a short description on the purpose of the program>
*
* @author yHuang
* @version 1.0
* @class com.szmx.component.mail.MailReceiver
* @since Dec 22, 2005
*/
public interface MailReceiver {
void setMimeMessage(MimeMessage mimeMessage);
String getFrom() throws Exception;
String getMailAddress(String type) throws Exception;
String getSubject() throws MessagingException;
String getSentDate() throws Exception;
String getBodyText();
void getMailContent(Part part) throws Exception;
boolean getReplySign() throws MessagingException;
String getMessageId() throws MessagingException;
boolean isNew() throws MessagingException;
boolean isContainAttach(Part part) throws Exception;
void saveAttachMent(Part part) throws Exception;
void setAttachPath(String attachpath);
void setDateFormat(String format) throws Exception;
String getAttachPath();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -