java.io.Serializablepublic final class SubjectTerm extends StringTerm
ignoreCase, pattern| Constructor | Description |
|---|---|
SubjectTerm(java.lang.String pattern) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.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.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetIgnoreCase, getPattern, hashCode, matchpublic SubjectTerm(java.lang.String pattern)
pattern - the pattern to matchpublic boolean match(Message msg)
match in class SearchTermpublic boolean equals(java.lang.Object other)
equals in class StringTerm© Copyright 2003, 2004 The Free Software Foundation, All rights reserved