public class EmojiManager extends Object
| Modifier and Type | Method and Description |
|---|---|
static Collection<Emoji> |
getAll()
Returns all the
Emojis |
static Collection<String> |
getAllTags()
Returns all the tags in the database
|
static Emoji |
getByUnicode(String unicode)
Returns the
Emoji for a given unicode. |
static Emoji |
getForAlias(String alias)
Returns the
Emoji for a given alias. |
static Set<Emoji> |
getForTag(String tag)
Returns all the
Emojis for a given tag. |
static com.vdurmont.emoji.EmojiTrie.Matches |
isEmoji(char[] sequence)
Checks if sequence of chars contain an emoji.
|
static boolean |
isEmoji(String string)
Tests if a given String is an emoji.
|
public static Set<Emoji> getForTag(String tag)
Emojis for a given tag.tag - the tagEmojis, null if the tag is unknownpublic static Emoji getForAlias(String alias)
Emoji for a given alias.alias - the aliasEmoji, null if the alias is unknownpublic static Emoji getByUnicode(String unicode)
Emoji for a given unicode.unicode - the the unicodeEmoji, null if the unicode is unknownpublic static Collection<Emoji> getAll()
EmojisEmojispublic static boolean isEmoji(String string)
string - the string to testpublic static com.vdurmont.emoji.EmojiTrie.Matches isEmoji(char[] sequence)
sequence - Sequence of char that may contain emoji in full or partially.public static Collection<String> getAllTags()
Copyright © 2016. All rights reserved.