|
JSIP API v1.2 November 2006 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Address
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 | |
---|---|
java.lang.Object |
clone()
Clone method. |
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. |
int |
hashCode()
Gets a hash code value for 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 |
---|
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.java.lang.String getDisplayName()
void setURI(URI uri)
uri
- - the new URI value of this Address.URI getURI()
java.lang.String toString()
toString
in class java.lang.Object
boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- - the Object with which to compare this Address
Object
int hashCode()
hashCode
in class java.lang.Object
boolean isWildcard()
((SipURI)Address.getURI()).getUser() == *;
. This method
is specific to SIP and SIPS schemes.
java.lang.Object clone()
|
JSIP API v1.2 November 2006 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |