IT. Expert System.

Java Enterprise Edition (EE)

Address


javax.mail
Class Address

java.lang.Object
  javax.mail.Address
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
InternetAddress, NewsAddress
public abstract class Address
extends java.lang.Object
implements java.io.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 equals(java.lang.Object address)
          The equality operator.
abstract  java.lang.String getType()
          Return a type string that identifies this address type.
abstract  java.lang.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 java.lang.String getType()
Return a type string that identifies this address type.

Returns:
address type
See Also:
InternetAddress

toString

public abstract java.lang.String toString()
Return a String representation of this address object.

Overrides:
toString in class java.lang.Object
Returns:
string representation of this address

equals

public abstract boolean equals(java.lang.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 of equals and hashCode - objects that compare as equal must have the same hashCode.

Overrides:
equals in class java.lang.Object
Parameters:
address - Address object


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1847 / . Delta: 0.01729 с