Class ITLibraryLoader


  • public class ITLibraryLoader
    extends LibraryLoader
    Library loader based on ITLibrary and the native ITLibrary Apple framework.
    Author:
    Hendrik Schreiber
    • Method Detail

      • isLoadExtraProperties

        public static boolean isLoadExtraProperties()
      • setLoadExtraProperties

        public static void setLoadExtraProperties​(boolean loadExtraProperties)
      • load

        protected MediaLibraryEvent load​(LibraryDescriptor libraryDescriptor,
                                         ProgressListener progressListener,
                                         boolean full)
                                  throws Exception
        Description copied from class: LibraryLoader
        Implement this method to establish the actual loading process. Do not call this method yourself. It will be called by AbstractMediaLibrary. Note that loading includes loading tracks from an external source (e.g. iTunes or the file system) AND building playlists based on them. At the very least, a library playlist must be built.
        Specified by:
        load in class LibraryLoader
        Parameters:
        libraryDescriptor - describes the library we are supposed to load
        progressListener - progress listener to notify of progress @see #load(com.tagtraum.core.ProgressListener, javax.swing.JDialog)
        full - attempt full synchronization no matter what
        Returns:
        event object describing the load results
        Throws:
        Exception - if something went wrong