类 javax.mail.Quota
的使用

使用 Quota 的软件包
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. 
 

com.sun.mail.imap 中 Quota 的使用
 

返回 Quota 的 com.sun.mail.imap 中的方法
 Quota[] IMAPFolder.getQuota()
          Get the quotas for the quotaroot associated with this folder.
 Quota[] IMAPStore.getQuota(String root)
          Get the quotas for the named quota root.
 

参数类型为 Quota 的 com.sun.mail.imap 中的方法
 void IMAPStore.setQuota(Quota quota)
          Set the quotas for the quota root specified in the quota argument.
 void IMAPFolder.setQuota(Quota quota)
          Set the quotas for the quotaroot specified in the quota argument.
 

com.sun.mail.imap.protocol 中 Quota 的使用
 

返回 Quota 的 com.sun.mail.imap.protocol 中的方法
 Quota[] IMAPProtocol.getQuota(String root)
          GETQUOTA Command.
 Quota[] IMAPProtocol.getQuotaRoot(String mbox)
          GETQUOTAROOT Command.
 

参数类型为 Quota 的 com.sun.mail.imap.protocol 中的方法
 void IMAPProtocol.setQuota(Quota quota)
          SETQUOTA Command.
 

javax.mail 中 Quota 的使用
 

返回 Quota 的 javax.mail 中的方法
 Quota[] QuotaAwareStore.getQuota(String root)
          Get the quotas for the named quota root.
 

参数类型为 Quota 的 javax.mail 中的方法
 void QuotaAwareStore.setQuota(Quota quota)
          Set the quotas for the quota root specified in the quota argument.
 



Copyright © 2013. All Rights Reserved.