public class TextFrame extends TagFrame
Represents text frames starts with T character in Id3v2Tag
except TXXX (UserDefinedFrame
).
Constructor and Description |
---|
TextFrame(String value)
Initializes a new instance of the
TextFrame class. |
TextFrame(String value,
byte encoding)
Initializes a new instance of the
TextFrame class. |
TextFrame(String name,
String value,
byte encoding)
Initializes a new instance of the
TextFrame class. |
Modifier and Type | Method and Description |
---|---|
byte |
getEncoding()
Gets the encoding.
|
String |
getFormattedValue()
Gets the formatted value.
|
String |
getText()
Gets the text.
|
String |
getTextValue() |
void |
setEncoding(byte value)
Sets the encoding.
|
void |
setText(String value)
Sets the text.
|
String |
toString()
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 © 2019. All rights reserved.