Class ITunesLibraryFileDiff
- java.lang.Object
-
- com.tagtraum.beatunes.library.itunes.ITunesLibraryFileDiff
-
public class ITunesLibraryFileDiff extends Object
Compares twoiTunes Music Library.xml
files and produces three result files:- added - containing tracks and playlists that were added
- deleted - containing tracks and playlists that were deleted
- modified - containing tracks and playlists that were modified
iTunes Music Library.xml
files, i.e. they all have the same structure as the one produced by iTunes.- Author:
- Hendrik Schreiber
-
-
Constructor Summary
Constructors Constructor Description ITunesLibraryFileDiff()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
diff(BufferedReader oldReader, BufferedReader newReader, BufferedWriter addedWriter, BufferedWriter deletedWriter, BufferedWriter modifiedWriter)
void
diff(File oldFile, File newFile, File addedFile, File deletedFile, File modifiedFile)
int
getReadAheadLimit()
static void
main(String[] args)
void
setReadAheadLimit(int readAheadLimit)
-
-
-
Method Detail
-
getReadAheadLimit
public int getReadAheadLimit()
-
setReadAheadLimit
public void setReadAheadLimit(int readAheadLimit)
-
diff
public void diff(File oldFile, File newFile, File addedFile, File deletedFile, File modifiedFile) throws IOException
- Throws:
IOException
-
diff
public void diff(BufferedReader oldReader, BufferedReader newReader, BufferedWriter addedWriter, BufferedWriter deletedWriter, BufferedWriter modifiedWriter) throws IOException
- Throws:
IOException
-
main
public static void main(String[] args) throws IOException
- Throws:
IOException
-
-