|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.compoze.mail.InternetMailAddress
This is a concrete implementation of IMailAddress.
| Constructor Summary | |
InternetMailAddress(java.lang.String sAddress)
Constructor. |
|
InternetMailAddress(java.lang.String sName,
java.lang.String sAddress)
Constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Indicates whether some other FlagText
object is "equal to" this one. |
java.lang.String |
getAddress()
Gets the address. |
java.lang.String |
getFullAddress()
Gets the full address of this mail address. |
java.lang.String |
getName()
Gets the personal name of the mail address. |
void |
setAddress(java.lang.String sAddress)
Sets the address. |
void |
setName(java.lang.String sName)
Sets the personal name of the mail address. |
java.lang.String |
toString()
Returns the string representation of this object. |
void |
validate()
This method validates an email address. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public InternetMailAddress(java.lang.String sAddress)
sAddress - the mail address
public InternetMailAddress(java.lang.String sName,
java.lang.String sAddress)
sName - the personal namesAddress - the mail address (may not be null or empty)| Method Detail |
public java.lang.String getName()
IMailAddressgetName in interface IMailAddresscom.compoze.mail.IMailAddresspublic void setName(java.lang.String sName)
IMailAddresssetName in interface IMailAddresscom.compoze.mail.IMailAddresssName - the personal name of the mail addresspublic void setAddress(java.lang.String sAddress)
IMailAddresssetAddress in interface IMailAddresscom.compoze.mail.IMailAddresssAddress - the addresspublic java.lang.String getAddress()
IMailAddressgetAddress in interface IMailAddresscom.compoze.mail.IMailAddresspublic java.lang.String getFullAddress()
IMailAddressgetFullAddress in interface IMailAddresscom.compoze.mail.IMailAddresspublic boolean equals(java.lang.Object o)
FlagText
object is "equal to" this one. The email address is
used to determine equality.equals in class java.lang.Objecttrue, this object is the same as the obj argument; false otherwise
public void validate()
throws MailException
validate in interface IMailAddressMailException - public java.lang.String toString()
toString in class java.lang.Object
|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||