ID3V2AttachedPictureFrame

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

public final class ID3V2AttachedPictureFrame extends ID3V2TagFrame

Represents an APIC frame in an ID3V2Tag .

Learn more

Constructors

Constructor Description
ID3V2AttachedPictureFrame(ID3V2EncodingType encoding, String mimeType, ID3V2AttachedPictureType pictureType, String description, byte[] pictureData) Initializes a new instance of the ID3V2AttachedPictureFrame class.
ID3V2AttachedPictureFrame(ID3V2AttachedPictureType pictureType, String description, byte[] pictureData) Initializes a new instance of the ID3V2AttachedPictureFrame class.
ID3V2AttachedPictureFrame(byte[] pictureData) Initializes a new instance of the ID3V2AttachedPictureFrame class.

Methods

Method Description
getDescriptionEncoding() Gets the encoding used to encode the picture description.
getMimeType() Gets the MIME type of the picture.
getAttachedPictureType() Gets the type of the picture.
getDescription() Gets the picture description.
getPictureData() Gets the picture data.

ID3V2AttachedPictureFrame(ID3V2EncodingType encoding, String mimeType, ID3V2AttachedPictureType pictureType, String description, byte[] pictureData)

public ID3V2AttachedPictureFrame(ID3V2EncodingType encoding, String mimeType, ID3V2AttachedPictureType pictureType, String description, byte[] pictureData)

Initializes a new instance of the ID3V2AttachedPictureFrame class.

Parameters:

Parameter Type Description
encoding ID3V2EncodingType The frame encoding.
mimeType java.lang.String The MIME-type of the image.
pictureType ID3V2AttachedPictureType The type of the picture.
description java.lang.String The description of the picture.
pictureData byte[] The picture data.

ID3V2AttachedPictureFrame(ID3V2AttachedPictureType pictureType, String description, byte[] pictureData)

public ID3V2AttachedPictureFrame(ID3V2AttachedPictureType pictureType, String description, byte[] pictureData)

Initializes a new instance of the ID3V2AttachedPictureFrame class.

Parameters:

Parameter Type Description
pictureType ID3V2AttachedPictureType The type of the picture.
description java.lang.String The description of the picture.
pictureData byte[] The picture data.

ID3V2AttachedPictureFrame(byte[] pictureData)

public ID3V2AttachedPictureFrame(byte[] pictureData)

Initializes a new instance of the ID3V2AttachedPictureFrame class.

Parameters:

Parameter Type Description
pictureData byte[] The picture data.

getDescriptionEncoding()

public final ID3V2EncodingType getDescriptionEncoding()

Gets the encoding used to encode the picture description.

Returns: ID3V2EncodingType - The encoding used to encode the picture description.

getMimeType()

public final String getMimeType()

Gets the MIME type of the picture.

Returns: java.lang.String - The MIME type of the picture.

getAttachedPictureType()

public final ID3V2AttachedPictureType getAttachedPictureType()

Gets the type of the picture.

Returns: ID3V2AttachedPictureType - The type of the picture.

getDescription()

public final String getDescription()

Gets the picture description. The description has a maximum length of 64 characters, but may be empty.

Returns: java.lang.String - The picture description.

getPictureData()

public final byte[] getPictureData()

Gets the picture data.

Returns: byte[] - The picture data.