⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mailreceiver.java

📁 一个关于tlms的一个小程序 看看能否帮助到别人
💻 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 + -