Package javax.mail.search
Search expressions for executing searches on the messages in a folder.
-
Class Summary Class Description AddressStringTerm A string comparison of message addresses.AddressTerm A comparison of message addresses.AndTerm A logical AND of a number of search terms.BodyTerm A textual search of the message content.ComparisonTerm A comparison for scalar values.DateTerm A date comparison.FlagTerm A comparison of message flags.FromStringTerm A string comparison of the From address header.FromTerm A comparison of the From address.HeaderTerm A case-insensitive string comparison of message header values.IntegerComparisonTerm An integer comparison.MessageIDTerm A comparison for the RFC822 "Message-Id", a string message identifier for Internet messages that is supposed to be unique per message.MessageNumberTerm A comparison of message numbers.NotTerm Provides the logical negation of the target term.OrTerm A logical OR of a number of search terms.ReceivedDateTerm A comparison of message received dates.RecipientStringTerm A string comparison of the recipient headers in a message.RecipientTerm A comparison of recipient headers in a message.SearchTerm A search expression is represented as a tree of search terms.SentDateTerm A comparison of message sent dates.SizeTerm A comparison of message sizes.StringTerm A comparison of string values.SubjectTerm A comparison of message subject headers. -
Exception Summary Exception Description SearchException An exception thrown to indicate that a search expression could not be handled by the store implementation.