Skip navigation links
C E F G H I L P R S T U V 

C

com.vdurmont.emoji - package com.vdurmont.emoji
 

E

Emoji - Class in com.vdurmont.emoji
This class represents an emoji.

This object is immutable so it can be used safely in a multithreaded context.
EmojiLoader - Class in com.vdurmont.emoji
Loads the emojis from a JSON database.
EmojiManager - Class in com.vdurmont.emoji
Holds the loaded emojis and provides search functions.
EmojiParser - Class in com.vdurmont.emoji
Provides methods to parse strings with emojis.
EmojiParser() - Constructor for class com.vdurmont.emoji.EmojiParser
 
EmojiParser.EmojiTransformer - Interface in com.vdurmont.emoji
 
EmojiParser.FitzpatrickAction - Enum in com.vdurmont.emoji
Enum used to indicate what should be done when a Fitzpatrick modifier is found.
EmojiParser.UnicodeCandidate - Class in com.vdurmont.emoji
 
EmojiTrie - Class in com.vdurmont.emoji
 
EmojiTrie(Collection<Emoji>) - Constructor for class com.vdurmont.emoji.EmojiTrie
 
EmojiTrie.Matches - Enum in com.vdurmont.emoji
 
equals(Object) - Method in class com.vdurmont.emoji.Emoji
 
exactMatch() - Method in enum com.vdurmont.emoji.EmojiTrie.Matches
 

F

Fitzpatrick - Enum in com.vdurmont.emoji
Enum that represents the Fitzpatrick modifiers supported by the emojis.
fitzpatrickFromType(String) - Static method in enum com.vdurmont.emoji.Fitzpatrick
 
fitzpatrickFromUnicode(String) - Static method in enum com.vdurmont.emoji.Fitzpatrick
 

G

getAliases() - Method in class com.vdurmont.emoji.Emoji
Returns the aliases of the emoji
getAll() - Static method in class com.vdurmont.emoji.EmojiManager
Returns all the Emojis
getAllTags() - Static method in class com.vdurmont.emoji.EmojiManager
Returns all the tags in the database
getByUnicode(String) - Static method in class com.vdurmont.emoji.EmojiManager
Returns the Emoji for a given unicode.
getDescription() - Method in class com.vdurmont.emoji.Emoji
Returns the description of the emoji
getEmoji() - Method in class com.vdurmont.emoji.EmojiParser.UnicodeCandidate
 
getEmoji(String) - Method in class com.vdurmont.emoji.EmojiTrie
Finds Emoji instance from emoji unicode
getEmojiEndIndex() - Method in class com.vdurmont.emoji.EmojiParser.UnicodeCandidate
 
getEmojiStartIndex() - Method in class com.vdurmont.emoji.EmojiParser.UnicodeCandidate
 
getFitzpatrick() - Method in class com.vdurmont.emoji.EmojiParser.UnicodeCandidate
 
getFitzpatrickEndIndex() - Method in class com.vdurmont.emoji.EmojiParser.UnicodeCandidate
 
getFitzpatrickType() - Method in class com.vdurmont.emoji.EmojiParser.UnicodeCandidate
 
getFitzpatrickUnicode() - Method in class com.vdurmont.emoji.EmojiParser.UnicodeCandidate
 
getForAlias(String) - Static method in class com.vdurmont.emoji.EmojiManager
Returns the Emoji for a given alias.
getForTag(String) - Static method in class com.vdurmont.emoji.EmojiManager
Returns all the Emojis for a given tag.
getHtmlDecimal() - Method in class com.vdurmont.emoji.Emoji
Returns the HTML decimal representation of the emoji
getHtmlHexadecimal() - Method in class com.vdurmont.emoji.Emoji
Returns the HTML hexadecimal representation of the emoji
getHtmlHexidecimal() - Method in class com.vdurmont.emoji.Emoji
Deprecated.
identical to getHtmlHexadecimal() for backwards-compatibility. Use that instead.
getTags() - Method in class com.vdurmont.emoji.Emoji
Returns the tags of the emoji
getUnicode() - Method in class com.vdurmont.emoji.Emoji
Returns the unicode representation of the emoji
getUnicode(Fitzpatrick) - Method in class com.vdurmont.emoji.Emoji
Returns the unicode representation of the emoji associated with the provided Fitzpatrick modifier.
If the modifier is null, then the result is similar to getUnicode()

H

hasFitzpatrick() - Method in class com.vdurmont.emoji.EmojiParser.UnicodeCandidate
 
hashCode() - Method in class com.vdurmont.emoji.Emoji
 

I

impossibleMatch() - Method in enum com.vdurmont.emoji.EmojiTrie.Matches
 
isEmoji(String) - Static method in class com.vdurmont.emoji.EmojiManager
Tests if a given String is an emoji.
isEmoji(char[]) - Static method in class com.vdurmont.emoji.EmojiManager
Checks if sequence of chars contain an emoji.
isEmoji(char[]) - Method in class com.vdurmont.emoji.EmojiTrie
Checks if sequence of chars contain an emoji.
isOnlyEmojis(String) - Static method in class com.vdurmont.emoji.EmojiManager
Tests if a given String only contains emojis.

L

loadEmojis(InputStream) - Static method in class com.vdurmont.emoji.EmojiLoader
Loads a JSONArray of emojis from an InputStream, parses it and returns the associated list of Emojis

P

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 &#128516;

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 &#128102;

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 &#128102;🏿
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 &#x1f466;

When a fitzpatrick modifier is present with a PARSE or REMOVE action, the modifier will be deleted.
Example: 👦🏿 will be replaced by &#x1f466;

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 &#x1f466;🏿
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 😄
&#128516; will be replaced by 😄
:boy|type_6: will be replaced by 👦🏿

R

removeAllEmojis(String) - Static method in class com.vdurmont.emoji.EmojiParser
Removes all emojis from a String
removeAllEmojisExcept(String, Collection<Emoji>) - Static method in class com.vdurmont.emoji.EmojiParser
Removes all the emojis in a String except a provided set
removeEmojis(String, Collection<Emoji>) - Static method in class com.vdurmont.emoji.EmojiParser
Removes a set of emojis from a String

S

supportsFitzpatrick() - Method in class com.vdurmont.emoji.Emoji
Returns wether the emoji supports the Fitzpatrick modifiers or not

T

toString() - Method in class com.vdurmont.emoji.Emoji
Returns the String representation of the Emoji object.

Example:
Emoji { description='smiling face with open mouth and smiling eyes', supportsFitzpatrick=false, aliases=[smile], tags=[happy, joy, pleased], unicode='😄', htmlDec='&#128516;', htmlHex='&#x1f604;' }
transform(EmojiParser.UnicodeCandidate) - Method in interface com.vdurmont.emoji.EmojiParser.EmojiTransformer
 

U

unicode - Variable in enum com.vdurmont.emoji.Fitzpatrick
The unicode representation of the Fitzpatrick modifier

V

valueOf(String) - Static method in enum com.vdurmont.emoji.EmojiParser.FitzpatrickAction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.vdurmont.emoji.EmojiTrie.Matches
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.vdurmont.emoji.Fitzpatrick
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.vdurmont.emoji.EmojiParser.FitzpatrickAction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.vdurmont.emoji.EmojiTrie.Matches
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.vdurmont.emoji.Fitzpatrick
Returns an array containing the constants of this enum type, in the order they are declared.
C E F G H I L P R S T U V 
Skip navigation links

Copyright © 2017. All rights reserved.