javax.mail.search
public final class SubjectTerm extends StringTerm
Version: 1.4
Constructor Summary | |
---|---|
SubjectTerm(String pattern)
Constructor. |
Method Summary | |
---|---|
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. |
Parameters: pattern the pattern to match