public class EmojiUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
PATTERN
emoji 表情字符正则匹配规则
|
| Constructor and Description |
|---|
EmojiUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
addBackslash(String emoji)
将 emoji 表情字符中的"单\"转换为"双\\"
|
static String |
removeBackslash(String emoji)
将添加了"双\\"字符替换为"单\" ,还原成emoji字符
|
public static final Pattern PATTERN
Copyright © 2018–2019. All rights reserved.