ID3V2EncodingType
Inheritance: java.lang.Object, java.lang.Enum
All Implemented Interfaces: com.groupdocs.metadata.core.IEnumValue
public enum ID3V2EncodingType extends Enum<ID3V2EncodingType> implements IEnumValue
Defines different types of text encoding used in ID3v2.
Fields
Field | Description |
---|---|
Iso88591 | The ISO-8859-1 encoding. |
Utf16 | The UTF-16 encoding with BOM. |
Utf16Be | The UTF-16 encoding without BOM. |
Utf8 | The UTF-8 encoding. |
Methods
Iso88591
public static final ID3V2EncodingType Iso88591
The ISO-8859-1 encoding.
Utf16
public static final ID3V2EncodingType Utf16
The UTF-16 encoding with BOM.
Utf16Be
public static final ID3V2EncodingType Utf16Be
The UTF-16 encoding without BOM.
Utf8
public static final ID3V2EncodingType Utf8
The UTF-8 encoding.
values()
public static ID3V2EncodingType[] values()
Returns: com.groupdocs.metadata.core.ID3V2EncodingType[]
valueOf(String name)
public static ID3V2EncodingType valueOf(String name)
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String |
Returns: ID3V2EncodingType
getByRawValue(int rawValue)
public static ID3V2EncodingType getByRawValue(int rawValue)
Parameters:
Parameter | Type | Description |
---|---|---|
rawValue | int |
Returns: ID3V2EncodingType
getFirst()
public static IEnumValue getFirst()
Returns: IEnumValue
getAllValues()
public Object[] getAllValues()
Returns the array of all values defined in the class.
Returns: java.lang.Object[]
getEnumValueByRawValue(int rawValue)
public IEnumValue getEnumValueByRawValue(int rawValue)
Returns the enumeration value by the raw value associated with it.
Parameters:
Parameter | Type | Description |
---|---|---|
rawValue | int |
Returns: IEnumValue
getEnumValueByName(String name)
public IEnumValue getEnumValueByName(String name)
Returns the enumeration value by its name.
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String |
Returns: IEnumValue
getRawValueType()
public RawIntegerType getRawValueType()
Returns the underlying type of the raw value of this enumeration value.
Returns: RawIntegerType
getRawValue()
public int getRawValue()
Returns the raw value of this enumeration value.
Returns: int