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
 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 Detail

getQuota

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

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