public final class BodyTerm extends StringTerm
ignoreCase, pattern| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Equality comparison.
|
boolean |
match(Message msg)
The match method.
|
getIgnoreCase, getPattern, hashCode, matchpublic BodyTerm(String pattern)
pattern - The String to search forpublic boolean match(Message msg)
match in class SearchTermmsg - The pattern search is applied on this Message's bodypublic boolean equals(Object obj)
equals in class StringTermCopyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.