Package org.apache.tika.parser.mp3
Class ID3Tags.ID3Picture
java.lang.Object
org.apache.tika.parser.mp3.ID3Tags.ID3Picture
- Enclosing interface:
ID3Tags
Represents an embedded picture in ID3 v2, such as cover art,
as carried by the APIC (v2.3/v2.4) and PIC (v2.2) frames
-
Constructor Summary
ConstructorsConstructorDescriptionID3Picture(String mimeType, String description, int pictureType, byte[] data) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getData()Gets the raw picture dataGets the description, if presentGets the declared mime type, if presentintGets the picture type byte, which indexesID3Tags.PICTURE_TYPES
-
Constructor Details
-
ID3Picture
-
-
Method Details
-
getMimeType
Gets the declared mime type, if present -
getDescription
Gets the description, if present -
getPictureType
public int getPictureType()Gets the picture type byte, which indexesID3Tags.PICTURE_TYPES -
getData
public byte[] getData()Gets the raw picture data
-