- parseFromUnicode(String, EmojiParser.EmojiTransformer) - Static method in class com.vdurmont.emoji.EmojiParser
-
Detects all unicode emojis in input string and replaces them with the
return value of transformer.transform()
- parseToAliases(String) - Static method in class com.vdurmont.emoji.EmojiParser
-
- parseToAliases(String, EmojiParser.FitzpatrickAction) - Static method in class com.vdurmont.emoji.EmojiParser
-
Replaces the emoji's unicode occurrences by one of their alias
(between 2 ':').
Example: 😄 will be replaced by :smile:
When a fitzpatrick modifier is present with a PARSE action, a "|" will be
appendend to the alias, with the fitzpatrick type.
Example: 👦🏿 will be replaced by
:boy|type_6:
The fitzpatrick types are: type_1_2, type_3, type_4, type_5, type_6
When a fitzpatrick modifier is present with a REMOVE action, the modifier
will be deleted.
Example: 👦🏿 will be replaced by :boy:
When a fitzpatrick modifier is present with a IGNORE action, the modifier
will be ignored.
Example: 👦🏿 will be replaced by :boy:🏿
- parseToHtmlDecimal(String) - Static method in class com.vdurmont.emoji.EmojiParser
-
- parseToHtmlDecimal(String, EmojiParser.FitzpatrickAction) - Static method in class com.vdurmont.emoji.EmojiParser
-
Replaces the emoji's unicode occurrences by their html representation.
Example: 😄 will be replaced by 😄
When a fitzpatrick modifier is present with a PARSE or REMOVE action, the
modifier will be deleted from the string.
Example: 👦🏿 will be replaced by
👦
When a fitzpatrick modifier is present with a IGNORE action, the modifier
will be ignored and will remain in the string.
Example: 👦🏿 will be replaced by
👦🏿
- parseToHtmlHexadecimal(String) - Static method in class com.vdurmont.emoji.EmojiParser
-
- parseToHtmlHexadecimal(String, EmojiParser.FitzpatrickAction) - Static method in class com.vdurmont.emoji.EmojiParser
-
Replaces the emoji's unicode occurrences by their html hex
representation.
Example: 👦 will be replaced by 👦
When a fitzpatrick modifier is present with a PARSE or REMOVE action, the
modifier will be deleted.
Example: 👦🏿 will be replaced by
👦
When a fitzpatrick modifier is present with a IGNORE action, the modifier
will be ignored and will remain in the string.
Example: 👦🏿 will be replaced by
👦🏿
- parseToUnicode(String) - Static method in class com.vdurmont.emoji.EmojiParser
-
Replaces the emoji's aliases (between 2 ':') occurrences and the html
representations by their unicode.
Examples:
:smile: will be replaced by 😄
😄 will be replaced by 😄
:boy|type_6: will be replaced by 👦🏿