public final class PrivateFrame extends TagFrame
Represents PRIV frame in Id3v2Tag
.
Frame is used to contain information from a software producer that its program uses
and does not fit into the other frames.
Constructor and Description |
---|
PrivateFrame(String ownerIdentifier,
byte[] data)
Initializes a new instance of the
PrivateFrame class. |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBinaryData()
Gets the binary data.
|
String |
getFormattedValue()
Gets the formatted value.
|
String |
getOwnerIdenfitier()
Gets the owner identifier.
|
void |
setBinaryData(byte[] value)
Sets the binary data.
|
void |
setOwnerIdenfitier(String value)
Sets the owner identifier.
|
String |
toString()
Returns a
System.String that represents this instance. |
public PrivateFrame(String ownerIdentifier, byte[] data)
Initializes a new instance of the PrivateFrame
class.
ownerIdentifier
- The owner identifier.data
- Frame binary data.ArgumentNullException
- datapublic final String getOwnerIdenfitier()
Gets the owner identifier.
public final void setOwnerIdenfitier(String value)
Sets the owner identifier.
value
- The owner identifier.public final byte[] getBinaryData()
Gets the binary data.
public final void setBinaryData(byte[] value)
Sets the binary data.
value
- The binary data.public String getFormattedValue()
Gets the formatted value.
getFormattedValue
in interface IMetadataProperty
getFormattedValue
in class TagFrame
Copyright © 2019. All rights reserved.