org.littleshoot.commom.xmpp
Class DefaultXmppUriFactory

java.lang.Object
  extended by org.littleshoot.commom.xmpp.DefaultXmppUriFactory
All Implemented Interfaces:
XmppUriFactory

public final class DefaultXmppUriFactory
extends Object
implements XmppUriFactory

Factory for creating SIP URIs.


Constructor Summary
DefaultXmppUriFactory()
           
 
Method Summary
 URI createXmppUri(long id)
          Creates a XMPP URI for the user with the specified ID.
 URI createXmppUri(String id)
          Creates a XMPP URI for the user with the specified ID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultXmppUriFactory

public DefaultXmppUriFactory()
Method Detail

createXmppUri

public URI createXmppUri(String id)
Description copied from interface: XmppUriFactory
Creates a XMPP URI for the user with the specified ID.

Specified by:
createXmppUri in interface XmppUriFactory
Parameters:
id - The ID of the user to create a XMPP URI for.
Returns:
The URI for the user.

createXmppUri

public URI createXmppUri(long id)
Description copied from interface: XmppUriFactory
Creates a XMPP URI for the user with the specified ID.

Specified by:
createXmppUri in interface XmppUriFactory
Parameters:
id - The ID of the user to create a XMPP URI for.
Returns:
The URI for the user.


Copyright © 2014 LittleShoot. All Rights Reserved.