javax.mail.search
Class SubjectTerm
- Serializable
public final class SubjectTerm
A comparison of message subject headers.
boolean | equals(Object other)
|
boolean | match(Message msg) - Returns true only if the pattern specified in this term is a substring
of the given message's Subject header.
|
SubjectTerm
public SubjectTerm(String pattern)
Constructor.
pattern
- the pattern to match
match
public boolean match(Message msg)
Returns true only if the pattern specified in this term is a substring
of the given message's Subject header.
- match in interface SearchTerm
© Copyright 2003, 2004
The Free Software Foundation, All rights reserved