Package com.olyno.emojiunicorn
Class Emoji
- java.lang.Object
-
- com.olyno.emojiunicorn.Emoji
-
public class Emoji extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Emoji()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetEmoji()Get the emoji of an emoji.java.lang.StringgetName()Get the name of the emojijava.lang.StringgetNameUrl()Get the name url of an emoji.java.lang.String[]getShortNames()Get short names of an emoji.java.lang.StringgetUnicode()Get the unicode of an emoji.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the name of the emoji- Returns:
- The name of the emoji
-
getShortNames
public java.lang.String[] getShortNames()
Get short names of an emoji. Example: unicorn become :unicorn:- Returns:
- All short names of the emoji
-
getUnicode
public java.lang.String getUnicode()
Get the unicode of an emoji. Example: unicorn become U+1F984- Returns:
- The unicode of the emoji
-
getEmoji
public java.lang.String getEmoji()
Get the emoji of an emoji. Example: unicorn become 🦄- Returns:
- The emoji of the emoji
-
getNameUrl
public java.lang.String getNameUrl()
Get the name url of an emoji. Example: unicorn become unicorn- Returns:
- The name url of emojipedia of the emoji
-
-