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(String folder)
Get the quotas for the named folder.
|
void |
setQuota(Quota quota)
Set the quotas for the quota root specified in the quota argument.
|
Quota[] getQuota(String folder) throws MessagingException
folder
- the name of the folderMessagingException
- 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 extensionCopyright © 1996-2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.