Oracle® Mail Java API Reference
10g Release 1 (10.1.1)

B14492-01

oracle.mail.sdk.esmail
Class TrueTerm

java.lang.Object
  |
  +--javax.mail.search.SearchTerm
        |
        +--oracle.mail.sdk.esmail.TrueTerm

public class TrueTerm
extends javax.mail.search.SearchTerm
See Also:
Serialized Form

Field Summary
static TrueTerm ALL
The singleton object of TrueTerm

Constructor Summary
TrueTerm()
Construct a TrueTerm object.

Method Summary
boolean match(javax.mail.Message msg)
Returns true any any match
java.lang.String toString()
prints the "ALL" representation

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail

ALL

public static final TrueTerm ALL
The singleton object of TrueTerm

Constructor Detail

TrueTerm

public TrueTerm()
Construct a TrueTerm object.

Method Detail

match

public boolean match(javax.mail.Message msg)
Returns true any any match
Overrides:
match in class javax.mail.search.SearchTerm
Parameters:
msg - the message object to be compared
Returns:
always return true.

toString

public java.lang.String toString()
prints the "ALL" representation
Overrides:
toString in class java.lang.Object
Returns:
the string representation of the TrueTerm object

Oracle® Mail Java API Reference
10g Release 1 (10.1.1)

B14492-01

Copyright © 1988, 2005, Oracle. All rights reserved.