org.littleshoot.commom.xmpp
Class DefaultXmppUriFactory
java.lang.Object
org.littleshoot.commom.xmpp.DefaultXmppUriFactory
- All Implemented Interfaces:
- XmppUriFactory
public final class DefaultXmppUriFactory
- extends Object
- implements XmppUriFactory
Factory for creating SIP URIs.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultXmppUriFactory
public DefaultXmppUriFactory()
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.