|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.mail Class Address
java.lang.Object javax.mail.Address
- 所有已实现的接口:
- Serializable
- 直接已知子类:
- InternetAddress, NewsAddress
public abstract class Address
- extends Object
- implements Serializable
This abstract class models the addresses in a message. Subclasses provide specific implementations. Subclasses will typically be serializable so that (for example) the use of Address objects in search terms can be serialized along with the search terms.
- 作者:
- John Mani, Bill Shannon
- 另请参见:
- Serialized Form
构造器摘要 | |
---|---|
Address()
|
方法摘要 | |
---|---|
abstract boolean |
equals(Object address)
The equality operator. |
abstract String |
getType()
Return a type string that identifies this address type. |
abstract String |
toString()
Return a String representation of this address object. |
类方法继承 java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
构造器详细信息 |
---|
Address
public Address()
方法详细信息 |
---|
getType
public abstract String getType()
- Return a type string that identifies this address type.
- 返回:
- address type
- 另请参见:
InternetAddress
toString
public abstract String toString()
- Return a String representation of this address object.
- 返回:
- string representation of this address
equals
public abstract boolean equals(Object address)
- The equality operator. Subclasses should provide an
implementation of this method that supports value equality
(do the two Address objects represent the same destination?),
not object reference equality. A subclass must also provide
a corresponding implementation of the
hashCode
method that preserves the general contract ofequals
andhashCode
- objects that compare as equal must have the same hashCode. - 参数:
address
- Address object
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.