|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.mail.search.SearchTerm
javax.mail.search.StringTerm
javax.mail.search.AddressStringTerm
javax.mail.search.RecipientStringTerm
public final class RecipientStringTerm
このクラスは Recipient Address ヘッダの文字列比較を実装します。
このクラスは RecipientTerm クラスと異なる事に注意して下さい。
このクラスは Address オブジェクトではなく、アドレス文字列について比較を行います。
この文字列比較は大文字と小文字を区別しません。
| フィールドの概要 |
|---|
| クラス javax.mail.search.StringTerm から継承されたフィールド |
|---|
ignoreCase, pattern |
| コンストラクタの概要 | |
|---|---|
RecipientStringTerm(Message.RecipientType type,
String pattern)
コンストラクタです。 |
|
| メソッドの概要 | |
|---|---|
boolean |
equals(Object obj)
等価比較です。 |
Message.RecipientType |
getRecipientType()
照合する受信者の型を返します。 |
int |
hashCode()
このオブジェクトのハッシュコードを計算します。 |
boolean |
match(Message msg)
コンストラクタで指定されたアドレスが、 この Message の受信者アドレスの部分文字列であるかどうかをチェックします。 |
| クラス javax.mail.search.AddressStringTerm から継承されたメソッド |
|---|
match |
| クラス javax.mail.search.StringTerm から継承されたメソッド |
|---|
getIgnoreCase, getPattern, match |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public RecipientStringTerm(Message.RecipientType type,
String pattern)
type - 受信者の型pattern - 比較されるアドレスパターン| メソッドの詳細 |
|---|
public Message.RecipientType getRecipientType()
public boolean match(Message msg)
SearchTerm 内の matchmsg - 比較はこの Message の受信者アドレスに適用されます。
public boolean equals(Object obj)
AddressStringTerm 内の equalspublic int hashCode()
StringTerm 内の hashCode
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||