|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 SearchTerm 的软件包 | |
|---|---|
| com.sun.mail.imap | An IMAP protocol provider for the JavaMail API that provides access to an IMAP message store. |
| com.sun.mail.imap.protocol | |
| javax.mail | The JavaMailTM API provides classes that model a mail system. |
| javax.mail.search | Message search terms for the JavaMail API. |
| com.sun.mail.imap 中 SearchTerm 的使用 |
|---|
| 参数类型为 SearchTerm 的 com.sun.mail.imap 中的方法 | |
|---|---|
Message[] |
IMAPFolder.search(SearchTerm term)
Search whole folder for messages matching the given term. |
Message[] |
IMAPFolder.search(SearchTerm term,
Message[] msgs)
Search the folder for messages matching the given term. |
| com.sun.mail.imap.protocol 中 SearchTerm 的使用 |
|---|
| 参数类型为 SearchTerm 的 com.sun.mail.imap.protocol 中的方法 | |
|---|---|
int[] |
IMAPProtocol.search(MessageSet[] msgsets,
SearchTerm term)
Issue the given search criterion on the specified message sets. |
int[] |
IMAPProtocol.search(SearchTerm term)
Issue the given search criterion on all messages in this folder. |
| javax.mail 中 SearchTerm 的使用 |
|---|
| 参数类型为 SearchTerm 的 javax.mail 中的方法 | |
|---|---|
boolean |
Message.match(SearchTerm term)
Apply the specified Search criterion to this message. |
Message[] |
Folder.search(SearchTerm term)
Search this Folder for messages matching the specified search criterion. |
Message[] |
Folder.search(SearchTerm term,
Message[] msgs)
Search the given array of messages for those that match the specified search criterion. |
| javax.mail.search 中 SearchTerm 的使用 |
|---|
| javax.mail.search 中 SearchTerm 的子类 | |
|---|---|
class |
AddressStringTerm
This abstract class implements string comparisons for Message addresses. |
class |
AddressTerm
This class implements Message Address comparisons. |
class |
AndTerm
This class implements the logical AND operator on individual SearchTerms. |
class |
BodyTerm
This class implements searches on a Message Body. |
class |
ComparisonTerm
This class models the comparison operator. |
class |
DateTerm
This class implements comparisons for Dates |
class |
FlagTerm
This class implements comparisons for Message Flags. |
class |
FromStringTerm
This class implements string comparisons for the From Address header. |
class |
FromTerm
This class implements comparisons for the From Address header. |
class |
HeaderTerm
This class implements comparisons for Message headers. |
class |
IntegerComparisonTerm
This class implements comparisons for integers. |
class |
MessageIDTerm
This term models the RFC822 "MessageId" - a message-id for Internet messages that is supposed to be unique per message. |
class |
MessageNumberTerm
This class implements comparisons for Message numbers. |
class |
NotTerm
This class implements the logical NEGATION operator. |
class |
OrTerm
This class implements the logical OR operator on individual SearchTerms. |
class |
ReceivedDateTerm
This class implements comparisons for the Message Received date |
class |
RecipientStringTerm
This class implements string comparisons for the Recipient Address headers. |
class |
RecipientTerm
This class implements comparisons for the Recipient Address headers. |
class |
SentDateTerm
This class implements comparisons for the Message SentDate. |
class |
SizeTerm
This class implements comparisons for Message sizes. |
class |
StringTerm
This class implements the match method for Strings. |
class |
SubjectTerm
This class implements comparisons for the Message Subject header. |
| 声明为 SearchTerm 的 javax.mail.search 中的字段 | |
|---|---|
protected SearchTerm |
NotTerm.term
The search term to negate. |
protected SearchTerm[] |
OrTerm.terms
The array of terms on which the OR operator should be applied. |
protected SearchTerm[] |
AndTerm.terms
The array of terms on which the AND operator should be applied. |
| 返回 SearchTerm 的 javax.mail.search 中的方法 | |
|---|---|
SearchTerm |
NotTerm.getTerm()
Return the term to negate. |
SearchTerm[] |
OrTerm.getTerms()
Return the search terms. |
SearchTerm[] |
AndTerm.getTerms()
Return the search terms. |
| 参数类型为 SearchTerm 的 javax.mail.search 中的构造方法 | |
|---|---|
AndTerm(SearchTerm[] t)
Constructor that takes an array of SearchTerms. |
|
AndTerm(SearchTerm t1,
SearchTerm t2)
Constructor that takes two terms. |
|
NotTerm(SearchTerm t)
|
|
OrTerm(SearchTerm[] t)
Constructor that takes an array of SearchTerms. |
|
OrTerm(SearchTerm t1,
SearchTerm t2)
Constructor that takes two operands. |
|
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||