Serializablepublic final class SubjectTerm extends StringTerm
ignoreCase, pattern| Constructor | Description |
|---|---|
SubjectTerm(String pattern) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object obj) |
Equality comparison.
|
boolean |
match(Message msg) |
The match method.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetIgnoreCase, getPattern, hashCode, matchpublic SubjectTerm(String pattern)
pattern - the pattern to search forpublic boolean match(Message msg)
match in class SearchTermmsg - the pattern match is applied to this Message's
subject headerpublic boolean equals(Object obj)
equals in class StringTermCopyright © 2018 Oracle. All rights reserved.