public interface Address extends Cloneable, Serializable
To: Bob sip:duke@jcp.org would have a display
name attribute of Bob and an address of
sip:duke@jcp.org.| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Clone method.
|
boolean |
equals(Object obj)
Indicates whether some other Object is "equal to" this Address.
|
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(String displayName)
Sets the display name of the Address.
|
void |
setURI(URI uri)
Sets the URI of this Address.
|
String |
toString()
Returns a string representation of this Address.
|
void setDisplayName(String displayName) throws ParseException
displayName - - the new string value of the display name.ParseException - which signals that an error has been reached
unexpectedly while parsing the displayName value.String getDisplayName()
void setURI(URI uri)
uri - - the new URI value of this Address.URI getURI()
String toString()
boolean equals(Object obj)
int hashCode()
boolean isWildcard()
((SipURI)Address.getURI()).getUser() == *;. This method
is specific to SIP and SIPS schemes.Object clone()
Copyright © 2014. All Rights Reserved.