|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectgov.nist.core.GenericObject
gov.nist.javax.sip.address.NetObject
gov.nist.javax.sip.address.AddressImpl
public final class AddressImpl
Address structure. Imbeds a URI and adds a display name.
フィールドの概要 | |
---|---|
static int |
ADDRESS_SPEC
constant field. |
static int |
NAME_ADDR
Constant field. |
static int |
WILD_CARD
Constant field. |
コンストラクタの概要 | |
---|---|
AddressImpl()
|
メソッドの概要 | |
---|---|
java.lang.String |
encode()
Encode the address as a string and return it. |
boolean |
equals(java.lang.Object other)
Compare two address specs for equality. |
int |
getAddressType()
Get the address type; |
java.lang.String |
getDisplayName()
get the display name |
java.lang.String |
getHost()
Get the host name from the address. |
HostPort |
getHostPort()
Get the host port portion of the address spec. |
int |
getPort()
Get the port from the imbedded URI. |
javax.sip.address.URI |
getURI()
Returns the URI address of this Address. |
java.lang.String |
getUserAtHostPort()
Get the user@host:port for the address field. |
boolean |
hasDisplayName()
return true if DisplayName exist. |
boolean |
isSIPAddress()
Return true if the imbedded URI is a sip URI. |
boolean |
isWildcard()
This determines if this address is a wildcard address. |
boolean |
match(java.lang.Object other)
Match on the address only. |
void |
removeDisplayName()
remove the displayName field |
void |
removeParameter(java.lang.String parameterName)
Remove a parameter from the address. |
void |
setAddess(javax.sip.address.URI address)
Set the address field |
void |
setAddressType(int atype)
Set the address type. |
void |
setDisplayName(java.lang.String displayName)
Set the displayName member |
void |
setURI(javax.sip.address.URI address)
Sets the URI address of this Address. |
void |
setUser(java.lang.String user)
Set the user name for the imbedded URI. |
void |
setWildCardFlag()
Mark this a wild card address type. |
クラス gov.nist.javax.sip.address.NetObject から継承されたメソッド |
---|
clone, debugDump, debugDump, merge, replace, replace, replace, replace, toString |
クラス gov.nist.core.GenericObject から継承されたメソッド |
---|
getClassFromName, getMatcher, isMySubclass, setMatcher |
クラス java.lang.Object から継承されたメソッド |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
インタフェース javax.sip.address.Address から継承されたメソッド |
---|
toString |
フィールドの詳細 |
---|
public static final int NAME_ADDR
public static final int ADDRESS_SPEC
public static final int WILD_CARD
コンストラクタの詳細 |
---|
public AddressImpl()
メソッドの詳細 |
---|
public boolean match(java.lang.Object other)
NetObject
内の match
other
- the match pattern to test against. The match object
has to be of the same type (class). Primitive types
and non-sip fields that are non null are matched for equality.
Null in any field matches anything. Some book-keeping fields
are ignored when making the comparison.
public HostPort getHostPort()
public int getPort()
public java.lang.String getUserAtHostPort()
public java.lang.String getHost()
public void removeParameter(java.lang.String parameterName)
parameterName
- is the name of the parameter to remove.public java.lang.String encode()
NetObject
内の encode
public int getAddressType()
public void setAddressType(int atype)
atype
- int to setpublic java.lang.String getDisplayName()
javax.sip.address.Address
内の getDisplayName
public void setDisplayName(java.lang.String displayName)
javax.sip.address.Address
内の setDisplayName
displayName
- String to setpublic void setAddess(javax.sip.address.URI address)
address
- SipUri to setpublic boolean equals(java.lang.Object other)
javax.sip.address.Address
内の equals
NetObject
内の equals
other
- Object to compare this this address
public boolean hasDisplayName()
public void removeDisplayName()
public boolean isSIPAddress()
public javax.sip.address.URI getURI()
javax.sip.address.Address
内の getURI
public boolean isWildcard()
Address.getAddress.getUserInfo() == *;
javax.sip.address.Address
内の isWildcard
public void setURI(javax.sip.address.URI address)
javax.sip.address.Address
内の setURI
address
- - the new URI address value of this NameAddress.public void setUser(java.lang.String user)
user
- -- user name to set for the imbedded URI.public void setWildCardFlag()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |