public final class ID3V2AttachedPictureFrame extends ID3V2TagFrame
Constructor and Description |
---|
ID3V2AttachedPictureFrame(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(ID3V2EncodingType encoding,
String mimeType,
ID3V2AttachedPictureType pictureType,
String description,
byte[] pictureData)
Initializes a new instance of the
ID3V2AttachedPictureFrame class. |
Modifier and Type | Method and Description |
---|---|
ID3V2AttachedPictureType |
getAttachedPictureType()
Gets the type of the picture.
|
String |
getDescription()
Gets the picture description.
|
ID3V2EncodingType |
getDescriptionEncoding()
Gets the encoding used to encode the picture description.
|
String |
getMimeType()
Gets the MIME type of the picture.
|
byte[] |
getPictureData()
Gets the picture data.
|
getData, getFlags, getId
addProperties, contains, findProperties, get_Item, getCount, getKeys, getKnowPropertyDescriptors, getMetadataType, getPropertyDescriptors, iterator, removeProperties, sanitize, setProperties, updateProperties
public ID3V2AttachedPictureFrame(ID3V2EncodingType encoding, String mimeType, ID3V2AttachedPictureType pictureType, String description, byte[] pictureData)
Initializes a new instance of the ID3V2AttachedPictureFrame
class.
encoding
- The frame encoding.mimeType
- The MIME-type of the image.pictureType
- The type of the picture.description
- The description of the picture.pictureData
- The picture data.public ID3V2AttachedPictureFrame(ID3V2AttachedPictureType pictureType, String description, byte[] pictureData)
Initializes a new instance of the ID3V2AttachedPictureFrame
class.
pictureType
- The type of the picture.description
- The description of the picture.pictureData
- The picture data.public ID3V2AttachedPictureFrame(byte[] pictureData)
Initializes a new instance of the ID3V2AttachedPictureFrame
class.
pictureData
- The picture data.public final ID3V2EncodingType getDescriptionEncoding()
Gets the encoding used to encode the picture description.
public final String getMimeType()
Gets the MIME type of the picture.
public final ID3V2AttachedPictureType getAttachedPictureType()
Gets the type of the picture.
public final String getDescription()
Gets the picture description. The description has a maximum length of 64 characters, but may be empty.
public final byte[] getPictureData()
Gets the picture data.