类 javax.mail.Store
的使用

使用 Store 的软件包
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. 
javax.mail.event Listeners and events for the JavaMail API. 
 

com.sun.mail.imapStore 的使用
 

com.sun.mail.imapStore 的子类
 class IMAPSSLStore
          This class provides access to an IMAP message store over SSL.
 class IMAPStore
          This class provides access to an IMAP message store.
 

com.sun.mail.pop3Store 的使用
 

com.sun.mail.pop3Store 的子类
 class POP3SSLStore
          A POP3 Message Store using SSL.
 class POP3Store
          A POP3 Message Store.
 

javax.mailStore 的使用
 

声明为 Storejavax.mail 中的字段
protected  Store Folder.store
          The parent store.
 

返回 Storejavax.mail 中的方法
 Store StoreClosedException.getStore()
          Returns the dead Store object
 Store Session.getStore()
          Get a Store object that implements this user's desired Store protocol.
 Store Folder.getStore()
          Returns the Store that owns this Folder object.
 Store Session.getStore(Provider provider)
          Get an instance of the store specified by Provider.
 Store Session.getStore(String protocol)
          Get a Store object that implements the specified protocol.
 Store Session.getStore(URLName url)
          Get a Store object for the given URLName.
 

参数类型为 Storejavax.mail 中的构造方法
Folder(Store store)
          Constructor that takes a Store object.
StoreClosedException(Store store)
          Constructor
StoreClosedException(Store store, String message)
          Constructor
 

javax.mail.eventStore 的使用
 

参数类型为 Storejavax.mail.event 中的构造方法
StoreEvent(Store store, int type, String message)
          Constructor.
 



Copyright © 2013. All Rights Reserved.