Package | Description |
---|---|
javax.mail | |
javax.mail.search |
Modifier and Type | Method and Description |
---|---|
boolean |
Message.match(SearchTerm term)
Apply the specified search criteria to this message
|
Message[] |
Folder.search(SearchTerm term)
Search this folder for messages matching the supplied search criteria.
|
Message[] |
Folder.search(SearchTerm term,
Message[] messages)
Search the supplied messages for those that match the supplied criteria;
messages must belong to this folder.
|
Modifier and Type | Class and Description |
---|---|
class |
AddressStringTerm
A Term that compares two Addresses as Strings.
|
class |
AddressTerm
Term that compares two addresses.
|
class |
AndTerm
Term that implements a logical AND across terms.
|
class |
BodyTerm
Term that matches on a message body.
|
class |
ComparisonTerm
Base for comparison terms.
|
class |
DateTerm |
class |
FlagTerm
Term for matching message
Flags . |
class |
FromStringTerm |
class |
FromTerm |
class |
HeaderTerm |
class |
IntegerComparisonTerm
A Term that provides comparisons for integers.
|
class |
MessageIDTerm |
class |
MessageNumberTerm |
class |
NotTerm
Term that implements a logical negation.
|
class |
OrTerm |
class |
ReceivedDateTerm |
class |
RecipientStringTerm |
class |
RecipientTerm |
class |
SentDateTerm |
class |
SizeTerm |
class |
StringTerm
A Term that provides matching criteria for Strings.
|
class |
SubjectTerm |
Modifier and Type | Field and Description |
---|---|
protected SearchTerm |
NotTerm.term |
protected SearchTerm[] |
AndTerm.terms
Terms to which the AND operator should be applied.
|
protected SearchTerm[] |
OrTerm.terms |
Modifier and Type | Method and Description |
---|---|
SearchTerm |
NotTerm.getTerm() |
SearchTerm[] |
AndTerm.getTerms()
Return the terms.
|
SearchTerm[] |
OrTerm.getTerms() |
Constructor and Description |
---|
AndTerm(SearchTerm[] terms)
Constructor for performing and AND across an arbitraty number of terms.
|
AndTerm(SearchTerm a,
SearchTerm b)
Constructor for performing a binary AND.
|
NotTerm(SearchTerm term) |
OrTerm(SearchTerm[] terms) |
OrTerm(SearchTerm a,
SearchTerm b) |
Copyright © 2013. All Rights Reserved.