クラス
com.sun.mail.imap.Quota の使用

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

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.