public interface QuotaAwareStore
getQuota
and setQuota
methods
support the quota model defined by the IMAP QUOTA extension.
Refer to RFC 2087
for more information. Modifier and Type | Method and Description |
---|---|
Quota[] |
getQuota(java.lang.String root)
Get the quotas for the named quota root.
|
void |
setQuota(Quota quota)
Set the quotas for the quota root specified in the quota argument.
|
Quota[] getQuota(java.lang.String root) throws MessagingException
root
- the name of the quota rootMessagingException
- if the server doesn't support the
QUOTA extensionvoid setQuota(Quota quota) throws MessagingException
getQuota
method, but it need not be.quota
- the quota to setMessagingException
- if the server doesn't support the
QUOTA extension