Modifier and Type | Method and 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 extension