<!-- -->
| JavaTM 2 Platform Ent. Ed. v1.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES <!-- if(window==top) { document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> All Classes <noscript></noscript> | |||||||||
SUMMARY:NESTED|FIELD|CONSTR|METHOD | DETAIL:FIELD|CONSTR|METHOD |
javax.mail
Class 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
<!-- ======== NESTED CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- -->
Constructor Summary | |
Address() |
Method Summary | |
abstract boolean | equals(Objectaddress) 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 |
<!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- -->
Constructor Detail |
Address
<!-- ============ METHOD DETAIL ========== --> <!-- -->Method Detail |
getType
- Return a type string that identifies this address type. 返回标识地址类型的类型字符串。
-
Returns:
- address type 地址类型 See Also:
-
InternetAddress
toString
- Return a String representation of this address object. 返回地址对象的字符串形式。
-
Returns:
- string representation of this address 地址的字符串形式
equals
- The equality operator. 等于操作符。
-
Parameters:
-
address
- Address object 地址对象
<!-- -->
| JavaTM 2 Platform Ent. Ed. v1.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES <!-- if(window==top) { document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> All Classes <noscript></noscript> | |||||||||
SUMMARY:NESTED|FIELD|CONSTR|METHOD | DETAIL:FIELD|CONSTR|METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.