javax.mail.Address翻译

<!-- ========= START OF TOP NAVBAR ======= --> <!-- -->
JavaTM 2 Platform
Ent. Ed. v1.4
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== -->

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 =========== --> <!-- -->
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 地址对象
<!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <!-- -->
JavaTM 2 Platform
Ent. Ed. v1.4
<!-- ======== END OF BOTTOM NAVBAR ======= --> Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值