commons-mail
b2007092401

org.phosphoresce.commons.mail
クラス MailTransaction

java.lang.Object
  拡張org.phosphoresce.commons.mail.MailTransaction
すべての実装インタフェース:
MailDeclareInterface
直系の既知のサブクラス:
MailReciveTransaction, MailSendTransaction

public abstract class MailTransaction
extends java.lang.Object
implements MailDeclareInterface

メール操作トランザクションクラス。

作成者:
Kitagawa

フィールドの概要
 
インタフェース org.phosphoresce.commons.mail.MailDeclareInterface から継承したフィールド
CHARSET_ISO_2022_JP, DEFAULT_MIME_CHARSET, EMAIL_EXTENSION, PRIMARY_FOLDER
 
コンストラクタの概要
protected MailTransaction(MailConfiguration configuration)
          コンストラクタ
 
メソッドの概要
 void begin(boolean readonly)
          トランザクションの開始指示を行います。
 void close()
          トランザクションの終了指示を行います。
 boolean isOpened()
          トランザクションが開始済みであるか判定します。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

MailTransaction

protected MailTransaction(MailConfiguration configuration)
コンストラクタ

パラメータ:
configuration - 環境設定情報オブジェクト
メソッドの詳細

begin

public final void begin(boolean readonly)
                 throws MailTransactionException
トランザクションの開始指示を行います。

例外:
MailTransactionException - 正常にトランザクションの開始が行えなかった場合に発生

close

public final void close()
                 throws MailTransactionException
トランザクションの終了指示を行います。

例外:
MailTransactionException - 正常にトランザクションの終了が行えなかった場合に発生

isOpened

public final boolean isOpened()
トランザクションが開始済みであるか判定します。

戻り値:
トランザクションが開始済みである場合、trueを返却

commons-mail
b2007092401