GmailSSLStore
, GmailStore
, IMAPSSLStore
, IMAPStore
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 | Description |
---|---|---|
Quota[] |
getQuota(java.lang.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(java.lang.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 © 2018 Oracle. All rights reserved.