|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjavax.mail.Quota
public class Quota
This class represents a set of quotas for a given quota root.
Each quota root has a set of resources, represented by the
Quota.Resource class. Each resource has a name
(for example, "STORAGE"), a current usage, and a usage limit.
See RFC 2087.
| 嵌套类摘要 | |
|---|---|
static class |
Quota.Resource
An individual resource in a quota root. |
| 字段摘要 | |
|---|---|
String |
quotaRoot
The name of the quota root. |
Quota.Resource[] |
resources
The set of resources associated with this quota root. |
| 构造方法摘要 | |
|---|---|
Quota(String quotaRoot)
Create a Quota object for the named quotaroot with no associated resources. |
|
| 方法摘要 | |
|---|---|
void |
setResourceLimit(String name,
long limit)
Set a resource limit for this quota root. |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
public String quotaRoot
public Quota.Resource[] resources
| 构造方法详细信息 |
|---|
public Quota(String quotaRoot)
quotaRoot - the name of the quota root| 方法详细信息 |
|---|
public void setResourceLimit(String name,
long limit)
name - the name of the resourcelimit - the resource limit
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||