类 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.imapQuota 的使用
 

返回 Quotacom.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.
 

参数类型为 Quotacom.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.protocolQuota 的使用
 

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

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

javax.mailQuota 的使用
 

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

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



Copyright © 2013. All Rights Reserved.