MailBuilder xref

View Javadoc

    1   package com.ozacc.mail;
    2
    3   import java.io.File;
    4
    5   /***
    6    * ¥á¡¼¥?¥Ç¡¼¥¿¤¬µ½Ò¤µ¤?¤¿¥Õ¥¡¥¤¥?¤«¤éMail¥¤¥ó¥¹¥¿¥ó¥¹¤òÀ¸À®¤¹¤?¥¤¥ó¥¹¥¿¡¼¥Õ¥§¡¼¥¹¡£
    7    * ¥µ¥Ý¡¼¥È¤¹¤?¥Õ¥¡¥¤¥?¤Î¼?Îà¤ä¥á¡¼¥?¥Ç¡¼¥¿½ñ¼°¤Ï¼ÂÁõ¥¯¥é¥¹¤Ë°ÍÂ¸¤·¤Þ¤¹¡£
    8    *
    9    * @see com.ozacc.mail.impl.XMLMailBuilderImpl
    10   * @see com.ozacc.mail.impl.JDomXMLMailBuilder
    11   *
    12   * @since 1.0
    13   * @author Tomohiro Otsuka
    14   * @version $Id: MailBuilder.java,v 1.7 2004/09/17 23:07:01 otsuka Exp $
    15   */
    16  public interface MailBuilder {
    17
    18  	/***
    19  	 * »ØÄê¤µ¤?¤¿¥¯¥é¥¹¥Ñ¥¹¾å¤Î¥Õ¥¡¥¤¥?¤òÆÉ¤ß¹?¤ó¤ÇMail¥¤¥ó¥¹¥¿¥ó¥¹¤òÀ¸À®¤·¤Þ¤¹¡£
    20  	 *
    21  	 * @param classPath ¥á¡¼¥?ÆâÍÆ¤òµ½Ò¤·¤¿¥Õ¥¡¥¤¥?¤Î¥Ñ¥¹
    22  	 * @return À¸À®¤µ¤?¤¿Mail¥¤¥ó¥¹¥¿¥ó¥¹
    23  	 * @throws MailBuildException Mail¥¤¥ó¥¹¥¿¥ó¥¹¤ÎÀ¸À®¤Ë¼ºÇÔ¤·¤¿¾?¹?
    24  	 */
    25  	Mail buildMail(String classPath) throws MailBuildException;
    26
    27  	/***
    28  	 * »ØÄê¤µ¤?¤¿¥Õ¥¡¥¤¥?¤òÆÉ¤ß¹?¤ó¤ÇMail¥¤¥ó¥¹¥¿¥ó¥¹¤òÀ¸À®¤·¤Þ¤¹¡£
    29  	 *
    30  	 * @param file ¥á¡¼¥?ÆâÍÆ¤òµ½Ò¤·¤¿¥Õ¥¡¥¤¥?
    31  	 * @return À¸À®¤µ¤?¤¿Mail¥¤¥ó¥¹¥¿¥ó¥¹
    32  	 * @throws MailBuildException Mail¥¤¥ó¥¹¥¿¥ó¥¹¤ÎÀ¸À®¤Ë¼ºÇÔ¤·¤¿¾?¹?
    33  	 */
    34  	Mail buildMail(File file) throws MailBuildException;
    35
    36  }