Class WechatEmojiConverter
java.lang.Object
com.flowable.engage.external.system.wechat.WechatEmojiConverter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.slf4j.Logger -
Constructor Summary
ConstructorsConstructorDescriptionWechatEmojiConverter(String emojiConversionSetting, List<String> unsupportedUnicodeBlocks, Collection<Resource> conversionResources) -
Method Summary
Modifier and TypeMethodDescriptionconvertFromUTF8ToWeChat(String input) convertFromWeChatToUTF8(String input) booleanhasUnsupportedEmojis(String input) returns true if the input contains an unsupported emoji (utf8 characters within the ranges definde din unsupportedUnicodeBlocks
-
Field Details
-
logger
protected final org.slf4j.Logger logger -
unsupportedUnicodeBlocks
-
wechatToOtherMap
-
otherToWechatMap
-
-
Constructor Details
-
WechatEmojiConverter
public WechatEmojiConverter(String emojiConversionSetting, List<String> unsupportedUnicodeBlocks, Collection<Resource> conversionResources)
-
-
Method Details
-
convertFromWeChatToUTF8
-
convertFromUTF8ToWeChat
-
hasUnsupportedEmojis
returns true if the input contains an unsupported emoji (utf8 characters within the ranges definde din unsupportedUnicodeBlocks- Parameters:
input- the input string to be tested against- Returns:
- true if the input contains an unsupported emoji
-