public class ChatUtils extends Object
| Constructor and Description |
|---|
ChatUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
cleanString(String str)
Clean string.
|
static String |
escapeSpecialCharacters(String message) |
static Object |
fromString(String s)
Read the object from Base64 string.
|
static String |
getExternalRoomId(String identifier) |
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.
|
static String |
unEscapeSpecialCharacters(String message) |
public static Object fromString(String s) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic static String toString(Serializable o) throws IOException
IOExceptionpublic static String cleanString(String str)
str - the strCopyright © 2003–2017 eXo Platform SAS. All rights reserved.