Class HibernateITunesLibraryParser
- java.lang.Object
-
- com.tagtraum.beatunes.library.itunes.HibernateITunesLibraryParser
-
public class HibernateITunesLibraryParser extends Object
Parses iTunes Music Library.xml file and imports it into theHibernateMediaLibrary
.- Author:
- Hendrik Schreiber
- See Also:
HibernateITunesLibraryLoader
-
-
Constructor Summary
Constructors Constructor Description HibernateITunesLibraryParser(HibernateITunesLibraryLoader hibernateITunesLibraryLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description gnu.trove.set.TLongSet
getAddedPlayLists()
gnu.trove.set.TLongSet
getAddedSongs()
Version
getApplicationVersion()
gnu.trove.set.TLongSet
getOrphanedSongIds()
gnu.trove.set.TLongSet
getPersistentSongIds()
List<PlayList>
getPlayLists()
gnu.trove.set.TLongSet
getUpdatedPlayLists()
gnu.trove.set.TLongSet
getUpdatedSongs()
boolean
isFirstParse()
void
parse(Path file, boolean full)
void
setFile(Path file)
void
setFirstParse(boolean firstParse)
void
setProgressListener(ProgressListener progressListener)
-
-
-
Constructor Detail
-
HibernateITunesLibraryParser
public HibernateITunesLibraryParser(HibernateITunesLibraryLoader hibernateITunesLibraryLoader)
-
-
Method Detail
-
getOrphanedSongIds
public gnu.trove.set.TLongSet getOrphanedSongIds()
-
getAddedSongs
public gnu.trove.set.TLongSet getAddedSongs()
-
getUpdatedSongs
public gnu.trove.set.TLongSet getUpdatedSongs()
-
getAddedPlayLists
public gnu.trove.set.TLongSet getAddedPlayLists()
-
getUpdatedPlayLists
public gnu.trove.set.TLongSet getUpdatedPlayLists()
-
setFile
public void setFile(Path file)
-
isFirstParse
public boolean isFirstParse()
-
setFirstParse
public void setFirstParse(boolean firstParse)
-
setProgressListener
public void setProgressListener(ProgressListener progressListener)
-
getApplicationVersion
public Version getApplicationVersion()
-
getPersistentSongIds
public gnu.trove.set.TLongSet getPersistentSongIds()
-
parse
public void parse(Path file, boolean full) throws IOException, ParserConfigurationException, SAXException
-
-