クラス
javax.mail.Quota の使用

Quota を使用しているパッケージ
com.sun.mail.imap IMAP メッセージ ストアへのアクセスを提供する JavaMail API の IMAP プロトコル プロバイダです。 
javax.mail メールシステムをモデル化するクラスです。 
 

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.
 

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.