Uses of Class
jakarta.mail.search.SearchTerm

Packages that use SearchTerm
Package
Description
The Jakarta Mail API provides classes that model a mail system.
Message search terms for the Jakarta Mail API.
  • Uses of SearchTerm in jakarta.mail

    Methods in jakarta.mail with parameters of type SearchTerm
    Modifier and Type
    Method
    Description
    boolean
    Message.match(SearchTerm term)
    Apply the specified Search criterion to this message.
    Folder.search(SearchTerm term)
    Search this Folder for messages matching the specified search criterion.
    Folder.search(SearchTerm term, Message[] msgs)
    Search the given array of messages for those that match the specified search criterion.
  • Uses of SearchTerm in jakarta.mail.search

    Modifier and Type
    Class
    Description
    class 
    This abstract class implements string comparisons for Message addresses.
    class 
    This class implements Message Address comparisons.
    final class 
    This class implements the logical AND operator on individual SearchTerms.
    final class 
    This class implements searches on a message body.
    class 
    This class models the comparison operator.
    class 
    This class implements comparisons for Dates
    final class 
    This class implements comparisons for Message Flags.
    final class 
    This class implements string comparisons for the From Address header.
    final class 
    This class implements comparisons for the From Address header.
    final class 
    This class implements comparisons for Message headers.
    class 
    This class implements comparisons for integers.
    final class 
    This term models the RFC822 "MessageId" - a message-id for Internet messages that is supposed to be unique per message.
    final class 
    This class implements comparisons for Message numbers.
    final class 
    This class implements the logical NEGATION operator.
    final class 
    This class implements the logical OR operator on individual SearchTerms.
    final class 
    This class implements comparisons for the Message Received date
    final class 
    This class implements string comparisons for the Recipient Address headers.
    final class 
    This class implements comparisons for the Recipient Address headers.
    final class 
    This class implements comparisons for the Message SentDate.
    final class 
    This class implements comparisons for Message sizes.
    class 
    This class implements the match method for Strings.
    final class 
    This class implements comparisons for the message Subject header.
    Methods in jakarta.mail.search that return SearchTerm
    Modifier and Type
    Method
    Description
    NotTerm.getTerm()
    Return the term to negate.
    AndTerm.getTerms()
    Return the search terms.
    OrTerm.getTerms()
    Return the search terms.
    Constructors in jakarta.mail.search with parameters of type SearchTerm
    Modifier
    Constructor
    Description
     
    Constructor that takes an array of SearchTerms.
     
    Constructor that takes two terms.
     
    Constructor.
     
    Constructor that takes an array of SearchTerms.
     
    Constructor that takes two operands.