| Modifier and Type | Method and Description |
|---|---|
static EmojiParser.FitzpatrickAction |
EmojiParser.FitzpatrickAction.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EmojiParser.FitzpatrickAction[] |
EmojiParser.FitzpatrickAction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
EmojiParser.parseToAliases(String input,
EmojiParser.FitzpatrickAction fitzpatrickAction)
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:🏿 |
static String |
EmojiParser.parseToHtmlDecimal(String input,
EmojiParser.FitzpatrickAction fitzpatrickAction)
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 👦🏿 |
static String |
EmojiParser.parseToHtmlHexadecimal(String input,
EmojiParser.FitzpatrickAction fitzpatrickAction)
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 👦🏿 |
Copyright © 2016. All rights reserved.