Package javax.mail
Interface QuotaAwareStore
-
public interface QuotaAwareStore
Interface implemented by mail stores that support quotas.- Since:
- JavaMail 1.4
- Version:
- 1.4
- Author:
- Chris Burdess
- See Also:
2087
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Quota[]
getQuota(java.lang.String root)
Returns the quotas for the given quota root.void
setQuota(Quota quota)
Sets the quotas for the quota root specified in the quota argument.
-
-
-
Method Detail
-
getQuota
Quota[] getQuota(java.lang.String root) throws MessagingException
Returns the quotas for the given quota root.- Parameters:
root
- the quota root- Throws:
MessagingException
- if the QUOTA extension is not supported
-
setQuota
void setQuota(Quota quota) throws MessagingException
Sets the quotas for the quota root specified in the quota argument.- Parameters:
quota
- the quota- Throws:
MessagingException
- if the QUOTA extension is not supported
-
-