|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.atunes.kernel.executors.BackgroundExecutor
public class BackgroundExecutor
This class is responsible of execute operations in secondary threads.
Constructor Summary | |
---|---|
BackgroundExecutor()
|
Method Summary | |
---|---|
static void |
addLyrics(java.util.List<AudioFile> files)
Adds the lyrics. |
static void |
changeAlbumNames(java.util.List<AudioFile> files)
Change album names. |
static void |
changeGenres(java.util.List<AudioFile> files)
Change genres. |
static void |
changeTags(java.util.List<AudioFile> files,
java.util.Map<java.lang.String,java.lang.Object> properties)
Change tags. |
static void |
changeTitles(java.util.List<AudioFile> files)
Change titles. |
static void |
changeTitles(java.util.Map<AudioFile,java.lang.String> filesAndTitles)
Change titles. |
static void |
changeTrackNumbers(java.util.Map<AudioFile,java.lang.Integer> filesAndTracks)
Change track numbers. |
static void |
clearTags(java.util.List<AudioFile> files)
Clear tags. |
static ExportFilesProcess |
exportFiles(java.util.List<AudioFile> songs,
int exportStructure,
java.lang.String filePattern,
java.lang.String path,
boolean isMp3Device)
Exports songs from the repository to an external path. |
static void |
getCoversFromAmazon(Artist artist,
CoverNavigatorFrame coverNavigatorFrame,
CoverNavigatorController coverNavigatorController)
Gets the covers from amazon. |
static void |
loadPlayList(java.util.List<java.lang.String> files)
Load play list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BackgroundExecutor()
Method Detail |
---|
public static void addLyrics(java.util.List<AudioFile> files)
files
- the filespublic static void changeAlbumNames(java.util.List<AudioFile> files)
files
- the filespublic static void changeGenres(java.util.List<AudioFile> files)
files
- the filespublic static void changeTags(java.util.List<AudioFile> files, java.util.Map<java.lang.String,java.lang.Object> properties)
files
- the filesproperties
- the propertiespublic static void changeTitles(java.util.List<AudioFile> files)
files
- the filespublic static void changeTitles(java.util.Map<AudioFile,java.lang.String> filesAndTitles)
filesAndTitles
- the files and titlespublic static void changeTrackNumbers(java.util.Map<AudioFile,java.lang.Integer> filesAndTracks)
filesAndTracks
- the files and trackspublic static void clearTags(java.util.List<AudioFile> files)
files
- the filespublic static ExportFilesProcess exportFiles(java.util.List<AudioFile> songs, int exportStructure, java.lang.String filePattern, java.lang.String path, boolean isMp3Device)
songs
- List of songs to be exportedexportStructure
- Folder structure, either 1, 2 or 3filePattern
- Filename patternpath
- Where to exportisMp3Device
- If on a non-Windows system it is needed to write on a
device/partition with Windows filesystem limitation set to
true.
public static void getCoversFromAmazon(Artist artist, CoverNavigatorFrame coverNavigatorFrame, CoverNavigatorController coverNavigatorController)
artist
- the artistcoverNavigatorFrame
- the cover navigator framecoverNavigatorController
- the cover navigator controllerpublic static void loadPlayList(java.util.List<java.lang.String> files)
files
- the files
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |