org.littleshoot.commom.xmpp
Interface XmppUriFactory

All Known Implementing Classes:
DefaultXmppUriFactory

public interface XmppUriFactory

Factory for creating XMPP URIs from user IDs.


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.
 

Method Detail

createXmppUri

URI createXmppUri(String id)
Creates a XMPP URI for the user with the specified ID.

Parameters:
id - The ID of the user to create a XMPP URI for.
Returns:
The URI for the user.

createXmppUri

URI createXmppUri(long id)
Creates a XMPP URI for the user with the specified ID.

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.