com.sap.ip.collaboration.gw.api.framework.groupware
Interface IEmailAddress
- All Superinterfaces:
- Cloneable, Serializable
public interface IEmailAddress
- extends Serializable, Cloneable
This interface is for representing email address objects.
A typical implementation of this iterface is RFC 822 implementation.
Upon creation of this object an MalformedURLException should be thrown typically if the
address does not conform to the RFC 822.
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
setName
IEmailAddress setName(String name)
- Parameters:
name - Address holders name.
- Returns:
- IEmailAddress Object
getName
String getName()
- Returns:
- Address holders name.
setAddress
IEmailAddress setAddress(String address)
throws MalformedURLException
- Set email address. Since the email address object is imutable, this
method will return a new email address object. The format of the address
will be checked (no characters - 31, 34, 127 or spaces - and must contain a
"@" character) and an MalformedURLException will be thrown if needed.
- Parameters:
address - email address Conforming to RFC 822.
- Returns:
- IEmailAddress Object
- Throws:
MalformedURLException
getAddress
String getAddress()
- Get the email address. This address is validaded and ready.
- Returns:
- email address.
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] KMC-COLL
|
[sap.com] tc/kmc/coll/gw
|
api
|
EP-KM-COL
|
Copyright 2011 SAP AG Complete Copyright Notice