javax.mail

Interface QuotaAwareStore

public interface QuotaAwareStore

Interface implemented by mail stores that support quotas.
Version:
1.4
Author:
Chris Burdess
Since:
JavaMail 1.4
See Also:
2087

Method Summary

Quota[]
getQuota(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 Details

getQuota

public Quota[] getQuota(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

public 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

© Copyright 2003, 2004 The Free Software Foundation, All rights reserved