|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: NESTED | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.mail Class Quota
java.lang.Object javax.mail.Quota
public class Quota
- extends Object
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.
- 从以下版本开始:
- JavaMail 1.4
- 版本:
- 1.7, 07/05/04
- 作者:
- Bill Shannon
嵌套类摘要 | |
---|---|
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 |
字段详细信息 |
---|
quotaRoot
public String quotaRoot
- The name of the quota root.
resources
public Quota.Resource[] resources
- The set of resources associated with this quota root.
构造器详细信息 |
---|
Quota
public Quota(String quotaRoot)
- Create a Quota object for the named quotaroot with no associated
resources.
- 参数:
quotaRoot
- the name of the quota root
方法详细信息 |
---|
setResourceLimit
public void setResourceLimit(String name, long limit)
- Set a resource limit for this quota root.
- 参数:
name
- the name of the resourcelimit
- the resource limit
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: NESTED | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.