|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface modeling an email address based on the types and information of the vCard Mime directory profile standard specification.
For reference see RFC 2426:
3.3.2 EMAIL Type Definition
Note that for a standard conformant implementation
you have to observe that the default type is
INTERNET.
Field Summary | |
static java.lang.String |
TYPE_INTERNET
Indicates an internet address type. |
static java.lang.String |
TYPE_X400
Indicates an X400 address type. |
Method Summary | |
java.lang.String |
getAddress()
Returns the address of this EmailAddress. |
java.lang.String |
getType()
Returns the type of this EmailAddress. |
boolean |
isType(java.lang.String TYPE)
Tests if this EmailAddress is of a given type. |
void |
setAddress(java.lang.String addr)
Sets the address of this EmailAddress. |
void |
setType(java.lang.String type)
Sets the type of this EmailAddress. |
Methods inherited from interface net.wimpi.pim.util.Identifiable |
getUID |
Field Detail |
public static final java.lang.String TYPE_INTERNET
public static final java.lang.String TYPE_X400
Method Detail |
public java.lang.String getAddress()
public void setAddress(java.lang.String addr)
addr
- the address as String.public java.lang.String getType()
public void setType(java.lang.String type)
type
- the type as String.public boolean isType(java.lang.String TYPE)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |