Here you can find the source of resolveToEmoji(String str)
private static String resolveToEmoji(String str)
//package com.java2s; //License from project: Open Source License public class Main { private static String resolveToEmoji(String str) { str = str.replaceAll("<:", "").replaceAll(":>", ""); String[] s = str.split(","); byte[] b = new byte[s.length]; for (int i = 0; i < s.length; i++) { b[i] = Byte.valueOf(s[i]); }/*from w w w. j ava 2 s . c o m*/ return new String(b); } }