[url=file:///F:/资料/文字资料/j2ee-1.4_doc/apidocs/overview-summary.html]Overview
Class
JavaTM 2 Platform
Ent. Ed. v1.4
PREV CLASS NEXT CLASS
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
javax.mail
Class Address
javax.mail.Address
All Implemented Interfaces: Serializable Direct Known Subclasses: 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. 该抽象类模拟消息中的地址,子类提供具体的实现。子类通常是可序列化的, 使得搜索项中的地址对象可以和搜索项一起序列化。
Author: John Mani, Bill Shannon See Also: Serialized Form
Constructor Summary
Address()
Method Summary
abstract boolean
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. 返回地址对象的字符串形式。
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Constructor Detail
Address
public Address()
Method Detail
getType
public abstract String getType()
Return a type string that identifies this address type. 返回标识地址类型的类型字符串。
Returns: address type 地址类型 See Also: InternetAddress
toString
public abstract String toString()
Return a String representation of this address object. 返回地址对象的字符串形式。
Returns: string representation of this address 地址的字符串形式
equals
public abstract boolean equals(Object address)
The equality operator. 等于操作符。
Parameters: address - Address object 地址对象[/url]
[url=file:///F:/资料/文字资料/j2ee-1.4_doc/apidocs/overview-summary.html]Overview
Class
JavaTM 2 Platform
Ent. Ed. v1.4
PREV CLASS NEXT CLASS
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright 2003 Sun Microsystems, Inc. All rights reserved.