|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.atunes.kernel.executors.processes.ExportFilesProcess
public class ExportFilesProcess
Exports (song) files to a partition/device and checks if filename is valid.
Field Summary | |
---|---|
static int |
ALL_EXPORT
The Constant ALL_EXPORT. |
static int |
ARTIST_STRUCTURE
The Constant ARTIST_STRUCTURE. |
static int |
FAVORITES_EXPORT
The Constant FAVORITES_EXPORT. |
static int |
FLAT_STRUCTURE
The Constant FLAT_STRUCTURE. |
static int |
FULL_STRUCTURE
The Constant FULL_STRUCTURE. |
static int |
SELECTION_EXPORT
The Constant SELECTION_EXPORT. |
Constructor Summary | |
---|---|
ExportFilesProcess(java.util.List<AudioFile> songs,
int structure,
java.lang.String filePattern,
java.lang.String path,
boolean isMp3Device)
Exports songs from the repository to an external path, call via BackgroundExecutor.java . |
Method Summary | |
---|---|
void |
addFinishListener(DeviceCopyFinishListener listener)
Adds the finish listener. |
void |
notifyCancel()
Notify cancel. |
void |
run()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ALL_EXPORT
public static final int SELECTION_EXPORT
public static final int FAVORITES_EXPORT
public static final int FLAT_STRUCTURE
public static final int ARTIST_STRUCTURE
public static final int FULL_STRUCTURE
Constructor Detail |
---|
public ExportFilesProcess(java.util.List<AudioFile> songs, int structure, java.lang.String filePattern, java.lang.String path, boolean isMp3Device)
songs
- List with songs to exportstructure
- Folder structure, either 1, 2 or 3filePattern
- Filename patternpath
- Path to where the files should be exportedisMp3Device
- Set true if writting to a device/partition with Windows OS
filename limitationsMethod Detail |
---|
public void addFinishListener(DeviceCopyFinishListener listener)
listener
- the listenerpublic void notifyCancel()
public void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |