|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objecthp.opencall.media.common.Address
hp.opencall.media.common.AddressWString
hp.opencall.media.common.SIPAddress
Holds SIP URI addresses as a java URI class
No wildcards supported yet
Example : sip:userinfo@hostname
| Constructor Summary | |
SIPAddress(String auri)
Creates a SIPAddress from a String. |
|
SIPAddress(URI auri)
Creates a SIPAddress from a java URI address. |
|
| Method Summary | |
boolean |
equals(Object anAddr)
Indicates whether the two addresses are equal. |
URI |
getUri()
Returns the URI of the SIP address. |
boolean |
greater(Address anAddress)
Indicates whether this address is strictly greater than the passed address. |
static boolean |
isSIPUri(URI auri)
Check if an URI is a SIP one |
static URI |
parseString(String value)
Check if a String can be used to build an URI |
String |
toString()
Returns the String of the SIP address. |
| Methods inherited from class hp.opencall.media.common.Address |
hashCode, overlap |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SIPAddress(String auri)
throws InvalidAddressFormat
public SIPAddress(URI auri)
throws InvalidAddressFormat
| Method Detail |
public boolean greater(Address anAddress)
AddressAssumes that hashCode always returns different values for different Class objects.
public boolean equals(Object anAddr)
AddressCan compare two (non wildcard) addresses or an address and a wildcard.
public URI getUri()
public String toString()
public static URI parseString(String value)
throws InvalidAddressFormat
InvalidAddressFormat - if not possiblepublic static boolean isSIPUri(URI auri)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||