org.benjp.utils
Class ChatUtils

java.lang.Object
  extended by org.benjp.utils.ChatUtils

public class ChatUtils
extends Object


Constructor Summary
ChatUtils()
           
 
Method Summary
static Object fromString(String s)
          Read the object from Base64 string.
static String getRoomId(List<String> users)
           
static String getRoomId(String roomName)
           
static String getRoomId(String roomName, String user)
           
static String toString(Serializable o)
          Write the object to a Base64 string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChatUtils

public ChatUtils()
Method Detail

getRoomId

public static String getRoomId(String roomName,
                               String user)

getRoomId

public static String getRoomId(String roomName)

getRoomId

public static String getRoomId(List<String> users)

fromString

public static Object fromString(String s)
                         throws IOException,
                                ClassNotFoundException
Read the object from Base64 string.

Throws:
IOException
ClassNotFoundException

toString

public static String toString(Serializable o)
                       throws IOException
Write the object to a Base64 string.

Throws:
IOException


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.