java.io.Serializable
public final class BodyTerm extends StringTerm
ignoreCase, pattern
Constructor | Description |
---|---|
BodyTerm(java.lang.String pattern) |
Constructor
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object obj) |
Equality comparison.
|
boolean |
match(Message msg) |
The match method.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getIgnoreCase, getPattern, hashCode, match
public BodyTerm(java.lang.String pattern)
pattern
- The String to search forpublic boolean match(Message msg)
match
in class SearchTerm
msg
- The pattern search is applied on this Message's bodypublic boolean equals(java.lang.Object obj)
equals
in class StringTerm
Copyright © 2018 Oracle. All rights reserved.