com.ozacc.mail.fetch
クラス ReceivedMail.ReceivedHeader

java.lang.Object
  上位を拡張 com.ozacc.mail.fetch.ReceivedMail.ReceivedHeader
含まれているクラス:
ReceivedMail

public static class ReceivedMail.ReceivedHeader
extends Object

Receviedヘッダフィールドを表すクラス。


コンストラクタの概要
ReceivedMail.ReceivedHeader(String from, String by)
           
 
メソッドの概要
 String getBy()
          メールを受信したサーバのホスト名を返します。
 String getFrom()
          メールを送信したサーバのホスト名を返します。
 String toString()
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

ReceivedMail.ReceivedHeader

public ReceivedMail.ReceivedHeader(String from,
                                   String by)
パラメータ:
from - メールを送信したサーバのホスト名
by - メールを受信したサーバのホスト名
メソッドの詳細

toString

public String toString()
オーバーライド:
クラス Object 内の toString
関連項目:
Object.toString()

getBy

public String getBy()
メールを受信したサーバのホスト名を返します。

戻り値:
メールを受信したサーバのホスト名

getFrom

public String getFrom()
メールを送信したサーバのホスト名を返します。

戻り値:
メールを送信したサーバのホスト名


Copyright © 2004-2006 OZACC. All Rights Reserved.