ID3V2TextFrame
Contents
[
Hide
]
Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ID3V2TagFrame
public class ID3V2TextFrame extends ID3V2TagFrame
Represents a text frame in an ID3V2Tag . Almost all frames starting with the T character fall into this category. There is only one exception, which is the TXXX frame represented by the ID3V2UserDefinedFrame class.
Learn more
Constructors
| Constructor | Description |
|---|---|
| ID3V2TextFrame(String id, ID3V2EncodingType encoding, String value) | Initializes a new instance of the ID3V2TextFrame class. |
Methods
| Method | Description |
|---|---|
| getTextEncoding() | Gets the text encoding. |
| getText() | Gets the text value. |
ID3V2TextFrame(String id, ID3V2EncodingType encoding, String value)
public ID3V2TextFrame(String id, ID3V2EncodingType encoding, String value)
Initializes a new instance of the ID3V2TextFrame class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| id | java.lang.String | The frame id. |
| encoding | ID3V2EncodingType | The encoding of the frame. |
| value | java.lang.String | The frame value. |
getTextEncoding()
public final ID3V2EncodingType getTextEncoding()
Gets the text encoding.
Returns: ID3V2EncodingType - The text encoding.
getText()
public final String getText()
Gets the text value.
Returns: java.lang.String - The text value.