javax.mail
public class Quota extends Object
Since: JavaMail 1.4
Version: 1.4
See Also: RFC 2087
Nested Class Summary | |
---|---|
static class | Quota.Resource
An individual quota resource. |
Field Summary | |
---|---|
String | quotaRoot
The quota root. |
Quota.Resource[] | resources
The resources associated with this quota. |
Constructor Summary | |
---|---|
Quota(String quotaRoot)
Constructor. |
Method Summary | |
---|---|
void | setResourceLimit(String name, long limit)
Sets a resource limit. |
Parameters: quotaRoot the quota root
Parameters: name the resource name limit the usage limit