public final class ID3V2AttachedPictureFrame extends ID3V2TagFrame
Constructor and Description |
---|
ID3V2AttachedPictureFrame(byte[] pictureData)
Initializes a new instance of the
ID3V2AttachedPictureFrame class. |
ID3V2AttachedPictureFrame(byte pictureType,
String description,
byte[] pictureData)
Initializes a new instance of the
ID3V2AttachedPictureFrame class. |
ID3V2AttachedPictureFrame(byte encoding,
String mimeType,
byte pictureType,
String description,
byte[] pictureData)
Initializes a new instance of the
ID3V2AttachedPictureFrame class. |
Modifier and Type | Method and Description |
---|---|
byte |
getAttachedPictureType()
Gets the type of the picture.
|
String |
getDescription()
Gets the picture description.
|
byte |
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, iterator, removeProperties, sanitize, setProperties, updateProperties
public ID3V2AttachedPictureFrame(byte encoding, String mimeType, byte 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(byte 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 byte getDescriptionEncoding()
Gets the encoding used to encode the picture description.
public final String getMimeType()
Gets the MIME type of the picture.
public final byte 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.