org.exoplatform.chat.utils
Class ChatUtils
java.lang.Object
org.exoplatform.chat.utils.ChatUtils
public class ChatUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChatUtils
public ChatUtils()
getRoomId
public static String getRoomId(String roomName,
String user)
getRoomId
public static String getRoomId(String roomName)
getExternalRoomId
public static String getExternalRoomId(String identifier)
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
cleanString
public static String cleanString(String str)
- Clean string.
- Parameters:
str - the str
- Returns:
- the string
Copyright © 2003–2014 eXo Platform SAS. All rights reserved.