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
Constructor and Description |
---|
ID3V2TextFrame(String id,
ID3V2EncodingType encoding,
String value)
Initializes a new instance of the
ID3V2TextFrame class. |
Modifier and Type | Method and Description |
---|---|
String |
getText()
Gets the text value.
|
ID3V2EncodingType |
getTextEncoding()
Gets the text encoding.
|
getData, getFlags, getId
addProperties, contains, findProperties, get_Item, getCount, getKeys, getKnowPropertyDescriptors, getMetadataType, getPropertyDescriptors, iterator, removeProperties, sanitize, setProperties, updateProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public ID3V2TextFrame(String id, ID3V2EncodingType encoding, String value)
Initializes a new instance of the ID3V2TextFrame
class.
id
- The frame id.encoding
- The encoding of the frame.value
- The frame value.public final ID3V2EncodingType getTextEncoding()
Gets the text encoding.
public final String getText()
Gets the text value.