Class ITunesDownloadedArtwork


  • public class ITunesDownloadedArtwork
    extends Object
    ITunes artwork downloaded from iTunes or representing files in the cloud.
    Author:
    Hendrik Schreiber
    • Constructor Detail

      • ITunesDownloadedArtwork

        public ITunesDownloadedArtwork​(Path albumArtworkDir,
                                       long libraryId)
    • Method Detail

      • canAssociate

        public boolean canAssociate​(long songId)
      • registerAssociation

        public Path registerAssociation​(long songId,
                                        byte[] imageData)
      • removeFromCache

        public void removeFromCache​(long songId)
      • getImageFile

        public Path getImageFile​(long songId)
      • removeFromCache

        public static void removeFromCache​(ITunesDownloadedArtwork tunesDownloadedArtwork,
                                           long songId)