public final class SubjectTerm extends StringTerm
Constructor and Description |
---|
SubjectTerm(java.lang.String pattern)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Equality comparison.
|
boolean |
match(Message msg)
The match method.
|
getIgnoreCase, getPattern, hashCode
public SubjectTerm(java.lang.String pattern)
pattern
- the pattern to search forpublic boolean match(Message msg)
match
in class SearchTerm
msg
- the pattern match is applied to this Message's
subject headerpublic boolean equals(java.lang.Object obj)
equals
in class StringTerm
Copyright © 2010 - 2020 Adobe. All Rights Reserved