Package com.tagtraum.audiokern
Interface AudioArtwork
-
- All Known Subinterfaces:
Artwork
- All Known Implementing Classes:
StandardAudioArtwork
public interface AudioArtworkAudio related artwork. Some, but not allAudioFileFormats support differentAudioArtwork.Kinds of artwork.- Author:
- Hendrik Schreiber
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAudioArtwork.KindKind of artwork, inspired by id3 2.4, APIC.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidfreeResources()Free resources that can be easily reloaded.ImagegetImage()Image object.byte[]getImageData()Encoded image data.AudioArtwork.KindgetKind()Kind of artwork.StringgetMimeType()Mime type.URIgetURI()URI of this artwork.
-
-
-
Method Detail
-
getImage
Image getImage()
Image object.- Returns:
- image
-
getImageData
byte[] getImageData()
Encoded image data. Image data that looks exactly like the data usually stored in a file. This means, for a PNG image, this method will return the PNG encoded data.- Returns:
- encoded image data
-
getMimeType
String getMimeType()
Mime type. Usually something likeimage/jpeg.- Returns:
- mime type, if known. Otherwise
null
-
getKind
AudioArtwork.Kind getKind()
Kind of artwork.- Returns:
- kind
-
getURI
URI getURI()
URI of this artwork. May benull, if not available.- Returns:
- uri or
null
-
freeResources
default void freeResources()
Free resources that can be easily reloaded. By default, this method does nothing.
-
-