Search-terms are represented by this class. This is an abstract class; subclasses implement specific match methods.
Search terms are serializable, which allows storing a search term between sessions
Warning
Serialized objects of this class may not be compatible with future Jakarta Mail API releases. The current serialization support is appropriate for short term storage.
Modifier and Type | Field and Description |
---|---|
private static final long |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public abstract boolean |
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID |
SearchTerm | back to summary |
---|---|
public SearchTerm() Creates a default |
match | back to summary |
---|---|
public abstract boolean match(Message msg) This method applies a specific match criterion to the given message and returns the result.
|