- All Implemented Interfaces:
Serializable,Comparable<EmojiType>,Constable
The EmojiType enum represents various types or formats in which emojis
can be encoded or represented.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents a format for encoding emojis using HTML decimal notation.Represents a format for encoding emojis using HTML hexadecimal notation.Represents the Unicode representation of an emoji.Represents an encoding format in which emojis are transformed into a URL-safe format by replacing non-ASCII characters with percent-encoded values. -
Method Summary
-
Enum Constant Details
-
HTML_DECIMAL
Represents a format for encoding emojis using HTML decimal notation. In this representation, emojis are encoded as decimal values of their Unicode code points, encapsulated within an HTML entity (e.g., "&#value;" format). This format is commonly used in HTML documents to ensure proper rendering of emojis or special characters across different platforms. -
HTML_HEXADECIMAL
Represents a format for encoding emojis using HTML hexadecimal notation. In this representation, emojis are encoded as hexadecimal values of their Unicode code points, encapsulated within an HTML entity (e.g., "&#xvalue;;" format). This format is often used in HTML documents to ensure consistent rendering of emojis or special characters across various platforms and browsers. -
URL_ENCODED
Represents an encoding format in which emojis are transformed into a URL-safe format by replacing non-ASCII characters with percent-encoded values. This is typically used in web applications or HTTP requests where emojis or special characters need to be included in URLs. -
UNICODE
Represents the Unicode representation of an emoji. Selecting this type ensures that the emoji is encoded in its standard Unicode format often used in text processing and rendering.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-