| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides javax. |
| public boolean | Returns: true if the pattern is found; otherwise falseThe pattern search is applied on this Message's body msg)Implements abstract javax. |
| private boolean |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| BodyTerm | back to summary |
|---|---|
| public BodyTerm(String pattern) Constructor
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides javax. Equality comparison.
| |
| match | back to summary |
|---|---|
| public boolean match(Message msg) Implements abstract javax. The match method. | |
| matchPart | back to summary |
|---|---|
| private boolean matchPart(Part p) Search all the parts of the message for any text part that matches the pattern. | |