|
JAIN SIP API v1.1 - 23rd June 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents a user's display name and URI address. The display
name of an address is optional but if included can be displayed to an end-user.
The address URI (most likely a SipURI) is the user's address. For example a
'To' address of To: Bob sip:duke@jcp.org
would have a display
name attribute of Bob
and an address of
sip:duke@jcp.org
.
SipURI
,
TelURL
Method Summary | |
boolean |
equals(java.lang.Object obj)
Indicates whether some other Object is "equal to" this Address. |
java.lang.String |
getDisplayName()
Gets the display name of this Address, or null if the attribute is not set. |
URI |
getURI()
Returns the URI of this Address. |
boolean |
isWildcard()
This determines if this address is a wildcard address. |
void |
setDisplayName(java.lang.String displayName)
Sets the display name of the Address. |
void |
setURI(URI uri)
Sets the URI of this Address. |
java.lang.String |
toString()
Returns a string representation of this Address. |
Method Detail |
public void setDisplayName(java.lang.String displayName) throws java.text.ParseException
displayName
- - the new string value of the display name.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the displayName value.public java.lang.String getDisplayName()
public void setURI(URI uri)
uri
- - the new URI value of this Address.public URI getURI()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- - the Object with which to compare this Address
Object
public boolean isWildcard()
((SipURI)Address.getURI()).getUser() == *;
. This method
is specific to SIP and SIPS schemes.
|
JAIN SIP API v1.1 - 23rd June 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |