Package net.fortuna.mstor.search
Class TagsTerm
- java.lang.Object
-
- javax.mail.search.SearchTerm
-
- net.fortuna.mstor.search.TagsTerm
-
- All Implemented Interfaces:
Serializable
public class TagsTerm extends javax.mail.search.SearchTerm
A Search Term that matches all messages with a given set of tags.- See Also:
- Serialized Form
-
-
Constructor Detail
-
TagsTerm
public TagsTerm()
Default constructor.
-
TagsTerm
public TagsTerm(Tags tags)
Creates a new term that matches messages that contain all the specified tags.- Parameters:
tags
-
-
-
Method Detail
-
match
public final boolean match(javax.mail.Message m)
- Specified by:
match
in classjavax.mail.search.SearchTerm
-
getTags
public final Tags getTags()
- Returns:
- Returns the tags.
-
-