@Deprecated public class TextFrame extends TagFrame
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 UserDefinedFrame
class.
Constructor and Description |
---|
TextFrame(String value)
Deprecated.
Initializes a new instance of the
TextFrame class. |
TextFrame(String value,
byte encoding)
Deprecated.
Initializes a new instance of the
TextFrame class. |
TextFrame(String name,
String value,
byte encoding)
Deprecated.
Initializes a new instance of the
TextFrame class. |
Modifier and Type | Method and Description |
---|---|
byte |
getEncoding()
Deprecated.
Gets the encoding.
|
String |
getFormattedValue()
Deprecated.
Gets the formatted value.
|
String |
getText()
Deprecated.
Gets the text.
|
String |
getTextValue()
Deprecated.
|
void |
setEncoding(byte value)
Deprecated.
Sets the encoding.
|
void |
setText(String value)
Deprecated.
Sets the text.
|
String |
toString()
Deprecated.
Returns a
System.String that represents this instance. |
public TextFrame(String name, String value, byte encoding)
Initializes a new instance of the TextFrame
class.
name
- Frame name.value
- Frame value.encoding
- The encoding.public TextFrame(String value, byte encoding)
Initializes a new instance of the TextFrame
class.
value
- Frame value.encoding
- The encoding.public TextFrame(String value)
Initializes a new instance of the TextFrame
class.
value
- Frame value.public final String getText()
Gets the text.
public final void setText(String value)
Sets the text.
value
- The text.public final byte getEncoding()
Gets the encoding.
public final void setEncoding(byte value)
Sets the encoding.
value
- The encoding.public final String getTextValue()
public String getFormattedValue()
Gets the formatted value.
getFormattedValue
in interface IMetadataProperty
getFormattedValue
in class TagFrame
Copyright © 2020. All rights reserved.