类 javax.mail.FetchProfile
的使用

使用 FetchProfile 的软件包
com.sun.mail.imap An IMAP protocol provider for the JavaMail API that provides access to an IMAP message store. 
com.sun.mail.pop3 A POP3 protocol provider for the JavaMail API that provides access to a POP3 message store. 
javax.mail The JavaMailTM API provides classes that model a mail system. 
 

com.sun.mail.imapFetchProfile 的使用
 

参数类型为 FetchProfilecom.sun.mail.imap 中的方法
 void IMAPFolder.fetch(Message[] msgs, FetchProfile fp)
          Prefetch attributes, based on the given FetchProfile.
 

com.sun.mail.pop3FetchProfile 的使用
 

参数类型为 FetchProfilecom.sun.mail.pop3 中的方法
 void POP3Folder.fetch(Message[] msgs, FetchProfile fp)
          Prefetch information about POP3 messages.
 

javax.mailFetchProfile 的使用
 

参数类型为 FetchProfilejavax.mail 中的方法
 void Folder.fetch(Message[] msgs, FetchProfile fp)
          Prefetch the items specified in the FetchProfile for the given Messages.
 



Copyright © 2013. All Rights Reserved.