ID3V2TagFrame

Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage

public class ID3V2TagFrame extends CustomPackage

Represents a generic frame in an ID3V2Tag .

Learn more

Constructors

Constructor Description
ID3V2TagFrame(String frameId, byte[] data) Initializes a new instance of the ID3V2TagFrame class.

Methods

Method Description
getId() Gets the id of the frame (four characters matching the pattern [A-Z0-9]).
getFlags() Gets the frame flags.
getData() Gets the frame data.

ID3V2TagFrame(String frameId, byte[] data)

public ID3V2TagFrame(String frameId, byte[] data)

Initializes a new instance of the ID3V2TagFrame class.

Parameters:

Parameter Type Description
frameId java.lang.String The id of the frame (four characters matching the pattern [A-Z0-9]).
data byte[] The content of the frame.

getId()

public final String getId()

Gets the id of the frame (four characters matching the pattern [A-Z0-9]).

Returns: java.lang.String - The id of the frame (four characters matching the pattern [A-Z0-9]).

getFlags()

public final ID3V2TagFrameFlags getFlags()

Gets the frame flags.

Returns: ID3V2TagFrameFlags - The frame flags.

getData()

public final byte[] getData()

Gets the frame data.

Returns: byte[] - The frame data.