gov.nist.javax.sip.address
クラス AddressFactoryImpl

java.lang.Object
  上位を拡張 gov.nist.javax.sip.address.AddressFactoryImpl
すべての実装されたインタフェース:
javax.sip.address.AddressFactory

public class AddressFactoryImpl
extends java.lang.Object
implements javax.sip.address.AddressFactory

Implementation of the JAIN-SIP address factory.

バージョン:
JAIN-SIP-1.1 $Revision: 1.2 $ $Date: 2004/01/22 13:26:28 $
作成者:
M. Ranganathan
This code is in the public domain. IPv6 Support added by Emil Ivov (emil_ivov@yahoo.com)
Network Research Team (http://www-r2.u-strasbg.fr))
Louis Pasteur University - Strasbourg - France

コンストラクタの概要
AddressFactoryImpl()
          Creates a new instance of AddressFactoryImpl
 
メソッドの概要
 javax.sip.address.Address createAddress(java.lang.String address)
          Creates an Address with the new address string value.
 javax.sip.address.Address createAddress(java.lang.String displayName, javax.sip.address.URI uri)
          Creates an Address with the new display name and URI attribute values.
 javax.sip.address.Address createAddress(javax.sip.address.URI uri)
           
 javax.sip.address.SipURI createSipURI(java.lang.String uri)
          create a sip uri.
 javax.sip.address.SipURI createSipURI(java.lang.String user, java.lang.String host)
          Create a SipURI
 javax.sip.address.TelURL createTelURL(java.lang.String uri)
          Creates a TelURL based on given URI string.
 javax.sip.address.URI createURI(java.lang.String uri)
          Creates a URI based on given URI string.
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

AddressFactoryImpl

public AddressFactoryImpl()
Creates a new instance of AddressFactoryImpl

メソッドの詳細

createAddress

public javax.sip.address.Address createAddress(java.lang.String displayName,
                                               javax.sip.address.URI uri)
Creates an Address with the new display name and URI attribute values.

定義:
インタフェース javax.sip.address.AddressFactory 内の createAddress
パラメータ:
displayName - - the new string value of the display name of the address. A null value does not set the display name.
uri - - the new URI value of the address.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the displayName value.

createSipURI

public javax.sip.address.SipURI createSipURI(java.lang.String uri)
                                      throws java.text.ParseException
create a sip uri.

パラメータ:
uri - -- the uri to parse.
例外:
java.text.ParseException

createSipURI

public javax.sip.address.SipURI createSipURI(java.lang.String user,
                                             java.lang.String host)
                                      throws java.text.ParseException
Create a SipURI

定義:
インタフェース javax.sip.address.AddressFactory 内の createSipURI
パラメータ:
user - -- the user
host - -- the host.
例外:
java.text.ParseException

createTelURL

public javax.sip.address.TelURL createTelURL(java.lang.String uri)
                                      throws java.text.ParseException
Creates a TelURL based on given URI string. The scheme or '+' should not be included in the phoneNumber string argument.

定義:
インタフェース javax.sip.address.AddressFactory 内の createTelURL
パラメータ:
uri - - the new string value of the phoneNumber.
例外:
java.net.URISyntaxException - if the URI string is malformed.
java.text.ParseException

createAddress

public javax.sip.address.Address createAddress(javax.sip.address.URI uri)
定義:
インタフェース javax.sip.address.AddressFactory 内の createAddress

createAddress

public javax.sip.address.Address createAddress(java.lang.String address)
                                        throws java.text.ParseException
Creates an Address with the new address string value. The address string is parsed in order to create the new Address instance. Create with a String value of "*" creates a wildcard address. The wildcard can be determined if ((SipURI)Address.getURI).getUser() == *;.

定義:
インタフェース javax.sip.address.AddressFactory 内の createAddress
パラメータ:
address - - the new string value of the address.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the address value.

createURI

public javax.sip.address.URI createURI(java.lang.String uri)
                                throws java.text.ParseException
Creates a URI based on given URI string. The URI string is parsed in order to create the new URI instance. Depending on the scheme the returned may or may not be a SipURI or TelURL cast as a URI.

定義:
インタフェース javax.sip.address.AddressFactory 内の createURI
パラメータ:
uri - - the new string value of the URI.
例外:
java.net.URISyntaxException - if the URI string is malformed.
java.text.ParseException